Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { TelegramBot struct { Token string `yaml:"token" envconfig:"BOT_TOKEN"` AdminIDs string `yaml:"admin_ids" envconfig:"BOT_ADMINIDS"` } `yaml:"telegram-bot"` TBCPusher struct { URL string `yaml:"url" envconfig:"TBCPUSHER_URL"` } `yaml:"tbcpusher"` Callback struct { Address string `yaml:"address" envconfig:"CALLBACK_ADDRESS"` Prefix string `yaml:"prefix" envconfig:"CALLBACK_PREFIX"` URLBase string `yaml:"urlbase" envconfig:"CALLBACK_URLBASE"` } `yaml:"callback"` }
Config is the configuration of the program.
Click to show internal directories.
Click to hide internal directories.