Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrParse = errors.New("error") )
View Source
var ( EmptyMessage = "" Start = "start" Unknown = "unknown" WrongLink = "wrong_link" )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Token string `toml:"token"` ChatID int64 `toml:"chat_id"` LogLevel string `toml:"log_level"` BotLogLevel bool `toml:"bot_log_level"` AccessUsers []string `toml:"access_users"` Text map[string]string `toml:"messages"` Webhook struct { IsWebhook bool `toml:"is_webhook"` Cert string `toml:"cert"` Addr string `toml:"addr"` } `toml:"webhook"` Scraper *scrape.Config }
Click to show internal directories.
Click to hide internal directories.