summaryrefslogtreecommitdiff
path: root/src/hub/src/spreadspace.org/sfive-hub/s5hub.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/hub/src/spreadspace.org/sfive-hub/s5hub.go')
-rw-r--r--src/hub/src/spreadspace.org/sfive-hub/s5hub.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/hub/src/spreadspace.org/sfive-hub/s5hub.go b/src/hub/src/spreadspace.org/sfive-hub/s5hub.go
index 6411e1e..15b1034 100644
--- a/src/hub/src/spreadspace.org/sfive-hub/s5hub.go
+++ b/src/hub/src/spreadspace.org/sfive-hub/s5hub.go
@@ -37,8 +37,9 @@ import (
"log"
"os"
"os/signal"
- "spreadspace.org/sfive"
"sync"
+
+ "spreadspace.org/sfive"
)
var s5hl = log.New(os.Stderr, "[s5hub]\t", log.LstdFlags)
@@ -73,7 +74,7 @@ func main() {
return
}
- srv, err := sfive.NewServer(*db, *readOnly, *anonymize, *anonKeyFile, *geoipDB)
+ srv, err := sfive.NewServer(sfive.SrvConfig{sfive.StoreConfig{*db, *readOnly}, sfive.TransformConfig{*anonymize, *anonKeyFile, *geoipDB}})
if err != nil {
s5hl.Fatalf(err.Error())
}