Documentation ¶
Overview ¶
config handles the configuration of the program.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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"` Rclone struct { BaseURL string `yaml:"host" envconfig:"RCLONE_HOST"` User string `yaml:"user" envconfig:"RCLONE_USER"` Password string `yaml:"password" envconfig:"RCLONE_PASSWORD"` } `yaml:"rclone"` TempPath struct { Download string `yaml:"download" envconfig:"TEMP_DOWNLOAD_DIR_ROOT"` } `yaml:"temp-path"` }
Config is the configuration of the program.
Click to show internal directories.
Click to hide internal directories.