internal

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ChooseBook = "choose-book"
)

Variables

This section is empty.

Functions

func GetRoute

func GetRoute() *telegram.RouteMap

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

func (Manager) Start

func (Manager) Start()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL