middleware

package
v0.3.0-UX Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Admin

func Admin(next http.Handler) http.Handler

Admin middleware to check for the 'admin' role in an OAuth token.

func CookieAuth

func CookieAuth(bearerServer *oauth.BearerServer) func(http.Handler) http.Handler

func Default

func Default(next http.Handler) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL