Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Logger ¶
func Logger(next http.HandlerFunc) http.HandlerFunc
Logger logs the current request to the console printing the date, HTTP method, path and elapsed time
func RequireAuthentication ¶
func RequireAuthentication(a *app.App, next http.HandlerFunc, admin bool) http.HandlerFunc
TODO: Create error struct that we can use instead of calling controllers?
func RequireRefreshToken ¶
func RequireRefreshToken(a *app.App, next http.HandlerFunc) http.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.