Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultConfigPath = "/etc/standup/daemon/config.yaml"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Database struct { DBS string `yaml:"dbs" validate:"required"` } `yaml:"database" validate:"required"` Service struct { Addr string `yaml:"addr" validate:"required,hostname_port"` } `yaml:"service" validate:"required"` Auth struct { Disable bool `yaml:"disable"` PublicKeyFile string `yaml:"public_key_file" validate:"required_without=Disable"` } `yaml:"auth" validate:"required"` }
Click to show internal directories.
Click to hide internal directories.