Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SaveConfigToFile ¶
Types ¶
type Config ¶
type Config struct { Logger logger.LoggerConfig `json:"Logger"` Webhooks webhook.WebHookConfig `json:"Webhooks"` Clients clients.ClientsConfig `json:"Clients"` LevelDB db.LevelDBConfig `json:"LevelDB"` Listener listener.ListenerConfig `json:"Listener"` Processors processor.ProcessorsConfig `json:"Processors"` }
func DefaultConfig ¶
func DefaultConfig() Config
func LoadConfigFromFile ¶
LoadConfigFromFile creates a new Config from the given file.
Click to show internal directories.
Click to hide internal directories.