Documentation ¶
Overview ¶
Package vevent 虚拟事件
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APICallerReturnHook ¶ added in v1.7.0
type APICallerReturnHook struct {
// contains filtered or unexported fields
}
APICallerReturnHook is a caller middleware
func NewAPICallerReturnHook ¶ added in v1.7.0
func NewAPICallerReturnHook(ctx *zero.Ctx, callback func(rsp zero.APIResponse, err error)) (v *APICallerReturnHook)
NewAPICallerReturnHook hook ctx's caller
func (*APICallerReturnHook) CallApi ¶ added in v1.7.0
func (v *APICallerReturnHook) CallApi(request zero.APIRequest) (rsp zero.APIResponse, err error)
CallApi call original caller and pass rsp to callback
Click to show internal directories.
Click to hide internal directories.