Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsoleDispatch ¶
type ConsoleDispatch struct {
// contains filtered or unexported fields
}
func (*ConsoleDispatch) Init ¶
func (this *ConsoleDispatch) Init(p int)
func (*ConsoleDispatch) RegisterHandle ¶
func (this *ConsoleDispatch) RegisterHandle(url string, h ConsoleHandler)
func (*ConsoleDispatch) ServeHTTP ¶
func (this *ConsoleDispatch) ServeHTTP(ctx *fasthttp.RequestCtx)
func (*ConsoleDispatch) Start ¶
func (this *ConsoleDispatch) Start()
type ConsoleRequest ¶
type ConsoleRequest struct { Token string `json:"access_token"` Data json.RawMessage `json:"data"` }
控制请求
type ConsoleResponse ¶
type ConsoleResponse struct { Status byte `json:"status"` Code string `json:"code"` Msg string `json:"message"` }
控制结果
type RegisterHandle ¶
type RegisterHandle struct {
// contains filtered or unexported fields
}
注册接口
func (*RegisterHandle) Init ¶
func (this *RegisterHandle) Init(c *ConsoleDispatch, r *runtime.DispatchManager)
type SystemHandle ¶
type SystemHandle struct {
App core.Application
}
func (*SystemHandle) Init ¶
func (this *SystemHandle) Init(c *ConsoleDispatch)
Click to show internal directories.
Click to hide internal directories.