Documentation
¶
Index ¶
Constants ¶
View Source
const MongoNotFoundErr = "not found"
MongoNotFoundErr is message for not found error from mongo
Variables ¶
View Source
var ( // Telegram represents Telegram connection Telegram *tgbotapi.BotAPI // MasterTelegramID stores master ID from env MasterTelegramID int64 // SquadTelegramID stores squad ID from env SquadTelegramID int64 // BirthdayTelegramID stores birthday ID from env BirthdayTelegramID int64 )
View Source
var MongoDB *mgo.Database
MongoDB represents MongoDB connection
View Source
var Redis *redis.Client
Redis represents Redis connection
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.