Documentation ¶
Index ¶
Constants ¶
View Source
const ( GinParseError = "parse_error" GinAuthError = "auth_error" GinAuthData = "auth_data" )
Variables ¶
This section is empty.
Functions ¶
func CheckAuthStatus ¶
When using the auth middleware with at least one Interrupt flag set to false, check if an error occurred.
If any of the 2 first return values is not nil, it means auth process failed.
Third return value refers to an unexpected error that occurred during status check. If not nil, it can be:
- ErrUnexpectedKey
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.