Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface { func(ctx *fasthttp.RequestCtx) error }
type MiddleWare ¶
type MiddleWare struct {
// contains filtered or unexported fields
}
type Router ¶
type SvrGroup ¶
type SvrGroup struct {
// contains filtered or unexported fields
}
func (*SvrGroup) AddRouter ¶
func (sg *SvrGroup) AddRouter(path string, fun func(ctx *fasthttp.RequestCtx) error)
func (*SvrGroup) MiddleWare ¶
func (sg *SvrGroup) MiddleWare(auth func(ctx *fasthttp.RequestCtx, prefix, action string) bool)
type Ws ¶
type Ws struct {
// contains filtered or unexported fields
}
func (*Ws) InitWebsocket ¶
func (ws *Ws) InitWebsocket(ctx *fasthttp.RequestCtx)
Click to show internal directories.
Click to hide internal directories.