Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Concurrency int `yaml:"concurrency"` LogFile string `yaml:"log_file"` LogLevel string `yaml:"log_level"` PIDFile string `yaml:"pid_file"` DatabaseFile string `yaml:"database_file"` }
Config stores all config value.
func (*Config) LoadFromContent ¶
LoadFromContent will load config from file content.
func (*Config) LoadFromFilePath ¶
LoadFromFilePath will load config from specific file path.
Click to show internal directories.
Click to hide internal directories.