Versions in this module Expand all Collapse all v0 v0.0.2 Jul 3, 2020 Changes in this version + const CONTEXT_TOKEN_KEY + func AuthRequired(signKey string) request.HandlerFunc + func BasicAuth(accounts map[string]string) request.HandlerFunc + func BasicAuthWithRealm(accounts map[string]string, realm string) request.HandlerFunc + func IUser(userModelPtr auth.IUser) request.HandlerFunc + func Locale() request.HandlerFunc + func Logger() request.HandlerFunc + func Policy(_policy policy.Policier, action policy.Action) request.HandlerFunc + func Recovery() request.HandlerFunc + func RequestLogger() request.HandlerFunc + func Revoke(c request.Context, signKey string) error + func Throttle(maxAttempts uint, decayMinutes uint) request.HandlerFunc + type TokenRevokeError struct + func (e TokenRevokeError) Error() string