1
This commit is contained in:
parent
32919e76e1
commit
9790bfdd6e
@ -35,7 +35,7 @@ func (this *HttpServer) Init(serviceName string, logOutputTime int32) *HttpServe
|
|||||||
this.restHandlers = make(map[string]*q5.ListHead)
|
this.restHandlers = make(map[string]*q5.ListHead)
|
||||||
this.groupHandlers = make(map[string]*q5.ListHead)
|
this.groupHandlers = make(map[string]*q5.ListHead)
|
||||||
this.globalMiddlewareList.Init(nil)
|
this.globalMiddlewareList.Init(nil)
|
||||||
this.RegisterRestHandle("/webapp/index", this.dispatchRequest)
|
this.RegisterRestHandle("/webapp/index.php", this.dispatchRequest)
|
||||||
this.RegisterHandle("Ops", "selfChecking",
|
this.RegisterHandle("Ops", "selfChecking",
|
||||||
func (c *Context) {
|
func (c *Context) {
|
||||||
c.Response(`{"errcode":0, "errmsg":"", "healthy":1, "max_rundelay":10}`)
|
c.Response(`{"errcode":0, "errmsg":"", "healthy":1, "max_rundelay":10}`)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user