Documentation
¶
Index ¶
Constants ¶
View Source
const (
ChooseBook = "choose-book"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BotService ¶
type BotService struct {
// contains filtered or unexported fields
}
func GetBot ¶
func GetBot() *BotService
func (BotService) Start ¶
func (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 NewManager ¶
func NewManager() *Manager
Click to show internal directories.
Click to hide internal directories.