package
1.17.16
Repository: https://github.com/golangid/candi.git
Documentation: pkg.go.dev

# Functions

NewMiddleware create new middleware instance (DEPRECATED, use NewMiddlewareWithOption).
NewMiddlewareWithOption create new middleware instance with option.
SetACLPermissionChecker option func.
SetBasicAuthValidator option func.
SetCache option func.
SetTokenValidator option func.
SetUserIDExtractor option func, custom extract user id from token claim for acl permission checker.

# Constants

BASIC constanta.
BEARER constanta.
DefaultCacheAge const.
MULTIPLE constanta.

# Structs

Middleware impl.

# Type aliases

OptionFunc type.