Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Logger ¶
func Logger(next http.HandlerFunc) http.HandlerFunc
Logger is the middleware function for logging requests
func RequireAuthentication ¶
func RequireAuthentication(a *app.App, next http.HandlerFunc, admin bool) http.HandlerFunc
RequireAuthentication is the middleware function for routes that require a bearer token
func RequireRefreshToken ¶
func RequireRefreshToken(a *app.App, next http.HandlerFunc) http.HandlerFunc
RequireRefreshToken is the middleware function for routes that require a refresh token
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.