Documentation
¶
Index ¶
Constants ¶
View Source
const ConfigFileName = "config.yml"
View Source
const ParentPath = "./"
Variables ¶
View Source
var ConfigFile embed.FS
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator struct {
PrivateSecret string `yaml:"private-secret,omitempty"`
}
type Authorization ¶
type Authorization struct {
Type string `yaml:"type,omitempty"`
Basic *Basic `yaml:"basic"`
Authenticator *Authenticator `yaml:"authenticator"`
}
type Config ¶
type Config struct {
Log *Log `yaml:"log"`
Bind *Bind `yaml:"bind,omitempty"`
Authorization *Authorization `yaml:"authorization"`
}
Click to show internal directories.
Click to hide internal directories.