Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorResponse ¶
GetTokenFromContext retrieves the token from the context
func GetTokenFromContext ¶
retrieve authorization token from the gin context sources hierarchy is: 1. authorization header 2. main website's authorization cookie 3. subdomains' authorization cookie
func GetUIntParamFromContext ¶
Get an unsigned integer parameter from the Gin context. Returns an error if the parameter is not found or is not a valid unsigned integer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.