Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindAndValidate ¶
BindAndValidate binds request payload and validates the requested payload.
func GetFromReqBody ¶
GetFromReqBody reads data from ctx.Locals("body") which was set by the BindJson middleware earlier
func GetUserFromCtx ¶
GetUserFromCtx extracts requested user from ctx and returns it. The user will be assigned to context from middleware
Types ¶
Click to show internal directories.
Click to hide internal directories.