Documentation ¶
Index ¶
Constants ¶
View Source
const ConfigFileName = "/data/options.json"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { TelegramToken string `json:"TELEGRAM_TOKEN"` TelegramAdminIDs string `json:"TELEGRAM_ADMIN_IDS"` TelegramAdminIDsList []int64 `json:"-"` TargetEmail string `json:"TARGET_EMAIL"` FromEmail string `json:"FROM_EMAIL"` SMTP_HOST string `json:"SMTP_HOST"` SMTP_PORT int `json:"SMTP_PORT"` SMTP_USER string `json:"SMTP_USER"` SMTP_PASS string `json:"SMTP_PASS"` Debug bool `json:"DEBUG"` }
Config ...
func InitConfig ¶
Click to show internal directories.
Click to hide internal directories.