Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateKeys ¶
GenerateKeys will generate uuid v4 keys based of the config yaml file
func IsAuthenticated ¶
func IsAuthenticated() gin.HandlerFunc
IsAuthenticated middleware to make sure all routes are protected
func IsHTAuthenticated ¶
func IsHTAuthenticated() gin.HandlerFunc
IsHTAuthenticated will use basic authentication to compare with a htpasswd set in the config
func ValidateHTPasswd ¶
ValidateHTPasswd wil compare a username and password to a bcrypt htpasswd
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.