nscm

package
v0.0.0-...-1954100 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const MESSAGE_RESULTS_WAS_UPDATED = "Ваши результаты были обновлены\nПосмотрим? (/check)"
View Source
const NSCM_URL = "http://nscm.ru/giaresult/tablresult.php"
View Source
const UpdateInterval = 5 * time.Minute

Variables

This section is empty.

Functions

func GetResults

func GetResults(user models.User) (models.Results, error)

func GetResultsMessage

func GetResultsMessage(results models.Results) string

Types

type ResultsUpdater

type ResultsUpdater struct {
	// contains filtered or unexported fields
}

func New

func New(bot *telebot.Bot) *ResultsUpdater

func (*ResultsUpdater) Start

func (u *ResultsUpdater) Start()

Jump to

Keyboard shortcuts

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