cache

package
v0.0.0-...-984ec8c Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCallbackNotFound = errors.New("callback not found")
)
View Source
var (
	Redis *redis.Pool
)

Functions

func ClearProcedure

func ClearProcedure(chatID int64, userID int64)

func Connect

func Connect()

func RecordCallback

func RecordCallback(callbackQueryHandler string, param string) (token string)

func RecordProcedure

func RecordProcedure(chatID int64, userID int64, procedureHandler string, param string)

func ResumeCallback

func ResumeCallback(token string) (callbackQueryHandler string, param string, err error)

func ResumeProcedure

func ResumeProcedure(chatID int64, userID int64) (procedureHandler string, param string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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