Documentation ¶
Overview ¶
Copyright 2019-2020 Axetroy. All rights reserved. MIT license.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GetStatusRouter = router.Handler(func(c router.Context) { c.ResponseFunc(nil, func() schema.Response { return schema.Response{ Message: "", Status: schema.StatusSuccess, Data: Status{ OnlineUserNum: ws.UserPoll.Length(), OnlineWaiterNum: ws.WaiterPoll.Length(), PendingNum: ws.MatcherPool.GetPendingLength(), Matchers: ws.MatcherPool.GetMatcher(), }, } }) })
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.