Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Server ServerConfig `yaml:"server"` Messaging MessagingConfig `yaml:"messaging"` CSV CSVConfig `yaml:"csv"` Telegram TelegramConfig `yaml:"telegram"` }
Config the configuration of this service
func InitConfig ¶
InitConfig initialize the configuration
type MessagingConfig ¶
type MessagingConfig struct { Host string `yaml:"host" envconfig:"MQ_HOST"` Port string `yaml:"port" envconfig:"MQ_PORT"` StripTopic string `yaml:"striptopic" envconfig:"MQ_STRIPTOPIC"` ProfileTopic string `yaml:"profiletopic" envconfig:"MQ_STRIPTOPIC"` Disabled bool `yaml:"disabled" envconfig:"MQ_DISABLED"` }
type ServerConfig ¶
Click to show internal directories.
Click to hide internal directories.