Documentation ¶
Index ¶
- Variables
- func Cache(next http.Handler) http.Handler
- func Cors(next http.Handler) http.Handler
- func Logger(logger log.Logger) func(http.Handler) http.Handler
- func OpenIDConnect(opts ...oidc.Option) func(http.Handler) http.Handler
- func RealIP(next http.Handler) http.Handler
- func RequestID(next http.Handler) http.Handler
- func Secure(next http.Handler) http.Handler
- func Token(token string) func(http.Handler) http.Handler
- func Version(name, version string) func(http.Handler) http.Handler
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidToken is returned when the request token is invalid. ErrInvalidToken = errors.New("invalid or missing token") )
Functions ¶
func OpenIDConnect ¶
OpenIDConnect provides a middleware to check access secured by a static token.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.