Refactor http server

This commit is contained in:
Benedikt Kulmann
2020-11-30 16:48:48 +01:00
parent 90e9a75b07
commit 61cd37113a
4 changed files with 22 additions and 27 deletions
+2
View File
@@ -24,6 +24,8 @@ func NewService(opts ...Option) Service {
mux: m,
}
m.Route(options.Config.HTTP.Root, func(r chi.Router) {})
return svc
}