add AddChat on /start

This commit is contained in:
2022-04-25 02:35:18 +07:00
parent 5d9a6825fe
commit 65e5144ad1
5 changed files with 130 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
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",
}
}