aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index fa81264..35b5b80 100644
--- a/main.go
+++ b/main.go
@@ -56,9 +56,9 @@ func main() {
// // External Http Server
writer := &zapio.Writer{Log: logger, Level: zap.DebugLevel}
defer writer.Close()
- server := http.NewServer(registry)
+ router := http.NewRouter(registry)
mainWg.Add(1)
- go server.Start(writer)
+ go router.Start(writer)
mainWg.Wait()
}