Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHandleFuncMethods ¶
func GetHandleFuncMethods(s interface{}) []interface{}
func IsHandleFuncType ¶
func IsHandleFuncType(f interface{}) error
Types ¶
type HandleContextKey ¶ added in v0.0.19
type HandleContextKey string
type HandleFuncInfo ¶
type HandleFuncInfo struct { ReqName string NewReq func() proto.Message Call func(context.Context, proto.Message) (proto.Message, error) }
func GetHandleFuncInfo ¶
func GetHandleFuncInfo(f interface{}) (*HandleFuncInfo, error)
f type must be HandleFuncType
func GetHandleFuncInfoByFunc ¶ added in v0.0.38
func (*HandleFuncInfo) CallHandlePanic ¶ added in v0.0.44
type HandleFuncType ¶
Click to show internal directories.
Click to hide internal directories.