Documentation ¶
Overview ¶
Package mid contains the set of middleware functions.
Index ¶
Constants ¶
View Source
const ( AuthPayloadKey = "authorization_payload" UserKey = "user" )
Variables ¶
This section is empty.
Functions ¶
func Authenticate ¶
Authenticate authenticates user's payload and stores it in the context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.