type github.com/gotd/td/internal/mtproto.Session
11 uses
github.com/gotd/td/internal/mtproto (current package)
conn.go#L28: OnSession(session Session) error
options.go#L91: func (nopHandler) OnSession(session Session) error { return nil }
session.go#L6: type Session struct {
session.go#L13: func (c *Conn) session() Session {
session.go#L18: return Session{
github.com/gotd/td/telegram
conn_builder.go#L21: func (c clientHandler) OnSession(cfg tg.Config, s mtproto.Session) error {
session.go#L63: func (c *Client) saveSession(cfg tg.Config, s mtproto.Session) error {
session.go#L95: func (c *Client) onSession(cfg tg.Config, s mtproto.Session) error {
github.com/gotd/td/telegram/internal/manager
conn.go#L78: func (c *Conn) OnSession(session mtproto.Session) error {
handler.go#L11: OnSession(cfg tg.Config, s mtproto.Session) error
handler.go#L19: func (n NoopHandler) OnSession(cfg tg.Config, s mtproto.Session) error {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |