all-tg-bot/config/config.go

16 lines
318 B
Go
Raw Normal View History

2022-04-24 19:35:18 +00:00
package config
type Config struct {
MongoURL string
DBName string
ChatsCollectionName string
}
func NewConfig() *Config {
return &Config{
MongoURL: "mongodb://mongo:o6bbyog3DHG0GYdu@90.189.218.191:27027",
DBName: "butler",
ChatsCollectionName: "chats",
}
}