Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BotService ¶
type BotService struct {
// contains filtered or unexported fields
}
func GetBot ¶
func GetBot() *BotService
func (*BotService) SetRoute ¶ added in v1.0.0
func (b *BotService) SetRoute()
func (*BotService) Start ¶
func (bs *BotService) Start()
func (BotService) Status ¶
func (b BotService) Status() <-chan struct{}
func (*BotService) Stop ¶
func (b *BotService) Stop()
type Manager ¶
type Manager struct { }
Manager /*
The Manager must control activity of client If client don't answer long time (10 minutes), Manager will notification If client forget about lesson, Manager will send notification to start lesson If any updates became, Manger will say about them to the client through the bot
func GetManager ¶ added in v1.0.0
func GetManager() *Manager
Click to show internal directories.
Click to hide internal directories.