This commit is contained in:
geek 2018-04-13 16:24:30 +09:00
parent 8ab605b526
commit 88ed4506c2

View File

@ -10,6 +10,7 @@ func New(_config *config.Config) *cssw.Server {
as := &servlet.AuthServlets{}
ps := &servlet.ProbeServlets{}
ds := &servlet.DataServlets{}
sh := &ServerHandlers{
ServerHandlers: *_config.ServerHandler,
@ -18,6 +19,7 @@ func New(_config *config.Config) *cssw.Server {
sh.RegisterServlet("/auth", as)
sh.RegisterServlet("/probe", ps)
sh.RegisterServlet("/data", ds)
s := &cssw.Server{
ServerHandler: sh,