session

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Channel chan bool
	// contains filtered or unexported fields
}

type Session

type Session map[int]*Data

func (*Session) SessionAdd

func (p *Session) SessionAdd(id int, handle func(m *tb.Message))

func (*Session) SessionCheck

func (p *Session) SessionCheck(id int) bool

func (*Session) SessionDel

func (p *Session) SessionDel(id int)

func (*Session) SessionHandle

func (p *Session) SessionHandle(id int, m *tb.Message)

Jump to

Keyboard shortcuts

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