Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthorizeJWT ¶
func AuthorizeJWT() gin.HandlerFunc
AuthorizeJWT validates the token from the http request, returning a 401 if it's not valid
func BasicAuth ¶
func BasicAuth() gin.HandlerFunc
BasicAuth takes as argument a map[string]string where the key is the user name and the value is the password.
func Logger ¶
func Logger() gin.HandlerFunc
Logger returns a middleware with the specified log format function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.