From 88ed4506c2718f0126b6380d5488684ef9c9ed3f Mon Sep 17 00:00:00 2001 From: geek Date: Fri, 13 Apr 2018 16:24:30 +0900 Subject: [PATCH] ing --- server/server.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/server.go b/server/server.go index d3be6e1..3041430 100644 --- a/server/server.go +++ b/server/server.go @@ -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,