You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
377 B
16 lines
377 B
package models |
|
|
|
type Config struct { |
|
Dbpath string `yaml:"dbpath"` |
|
Telegram struct { |
|
Send bool `yaml:"send"` |
|
SendDebug bool `yaml:"senddebug"` |
|
ChatId int64 `yaml:"chatid"` |
|
Token string `yaml:"token"` |
|
} `yaml:"telegram"` |
|
VK struct { |
|
Send bool `yaml:"send"` |
|
Token string `yaml:"token"` |
|
OwnerId int64 `yaml:"ownerid"` |
|
} `yaml:"vk"` |
|
}
|
|
|