Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReAdapterWithUinfo ¶
func ReAdapterWithUinfo(handler UserRequestHandler) gin.HandlerFunc
ResponseAdapter for gin handler
Types ¶
type RequestHandler ¶
RequestHandler used with ResponseAdapter
type UserRequestHandler ¶
type UserRequestHandler func(ctx *gin.Context, uinfo dto.LoginUserInfo) (status int, json interface{}, err error)
UserRequestHandler used with ReAdapterWithUinfo
Click to show internal directories.
Click to hide internal directories.