Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddStartHook ¶
func AddStartHook(hf hookfunc, priority ...int)
AddStartHook is used to register the hookfunc The hookfuncs will run in RunStartHook() priority 范围 0-10;执行顺序为:0->10.
Types ¶
type ErrBadBody ¶
type ErrBadBody struct {
Message string
}
ErrBadBody 不合理的请求内容.
func (ErrBadBody) Error ¶
func (e ErrBadBody) Error() string
Click to show internal directories.
Click to hide internal directories.