session

package
v0.0.0-...-ce24463 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(chatID int64) bool

Exists checks whether the given chatID has an associated session

func New

func New(chatID int64, action, actionFile string) session

New creates a new session for the given chatID

func Session

func Session(chatID int64) (session, bool)

Session returns the given chatID associated session, if any

Types

This section is empty.

Jump to

Keyboard shortcuts

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