Documentation ¶ Index ¶ type Data type Session func (p *Session) SessionAdd(id int, handle func(m *tb.Message)) func (p *Session) SessionCheck(id int) bool func (p *Session) SessionDel(id int) func (p *Session) SessionHandle(id int, m *tb.Message) 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) Source Files ¶ View all Source files session.go Click to show internal directories. Click to hide internal directories.