Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler(handler http.HandlerFunc, security *Config) http.HandlerFunc
Types ¶
type BasicConfig ¶
type BasicConfig struct { Username string `yaml:"username"` PasswordSha512Hash string `yaml:"password-sha512"` }
func (*BasicConfig) IsValid ¶
func (c *BasicConfig) IsValid() bool
Click to show internal directories.
Click to hide internal directories.