Documentation ¶
Index ¶
- Variables
- func AddUser(path string, username string, password string) error
- func DeleteUser(path string, username string) error
- func GenerateSecret(path string, length int, force bool) (err error)
- func GetUsers(path string) (htpasswd.HashedPasswords, error)
- func Parse(args types.AppArgs)
- type Config
Constants ¶
This section is empty.
Variables ¶
View Source
var Passwords htpasswd.HashedPasswords
Passwords is used to log into the application
View Source
var Port int
Port is the port which the application listens on
View Source
var Secret []byte
Secret is the crypto secret for the application
Functions ¶
func DeleteUser ¶
DeleteUser removes a user from the application
func GenerateSecret ¶
GenerateSecret generates a new application secret
Types ¶
Click to show internal directories.
Click to hide internal directories.