ing
This commit is contained in:
parent
8ab605b526
commit
88ed4506c2
|
@ -10,6 +10,7 @@ func New(_config *config.Config) *cssw.Server {
|
||||||
|
|
||||||
as := &servlet.AuthServlets{}
|
as := &servlet.AuthServlets{}
|
||||||
ps := &servlet.ProbeServlets{}
|
ps := &servlet.ProbeServlets{}
|
||||||
|
ds := &servlet.DataServlets{}
|
||||||
|
|
||||||
sh := &ServerHandlers{
|
sh := &ServerHandlers{
|
||||||
ServerHandlers: *_config.ServerHandler,
|
ServerHandlers: *_config.ServerHandler,
|
||||||
|
@ -18,6 +19,7 @@ func New(_config *config.Config) *cssw.Server {
|
||||||
|
|
||||||
sh.RegisterServlet("/auth", as)
|
sh.RegisterServlet("/auth", as)
|
||||||
sh.RegisterServlet("/probe", ps)
|
sh.RegisterServlet("/probe", ps)
|
||||||
|
sh.RegisterServlet("/data", ds)
|
||||||
|
|
||||||
s := &cssw.Server{
|
s := &cssw.Server{
|
||||||
ServerHandler: sh,
|
ServerHandler: sh,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user