type github.com/gotd/td/internal/pool.SyncSession
10 uses
github.com/gotd/td/internal/pool (current package)
session.go#L18: type SyncSession struct {
session.go#L24: func NewSyncSession(data Session) *SyncSession {
session.go#L25: return &SyncSession{
session.go#L31: func (s *SyncSession) Store(data Session) {
session.go#L38: func (s *SyncSession) Migrate(dc int) {
session.go#L47: func (s *SyncSession) Options(opts mtproto.Options) (mtproto.Options, Session) {
session.go#L58: func (s *SyncSession) Load() (data Session) {
github.com/gotd/td/telegram
client.go#L85: session *pool.SyncSession
client.go#L102: sessions map[int]*pool.SyncSession
client.go#L215: c.sessions = map[int]*pool.SyncSession{}
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. |