github.com/gotd/td/pool.SyncSession.Load (method)
16 uses
github.com/gotd/td/pool (current package)
session.go#L70: func (s *SyncSession) Load() (data Session) {
github.com/gotd/td/telegram
download.go#L137: return d.WithScheduler(c.DownloadScheduler(c.session.Load().DC))
logout.go#L65: home = c.session.Load().DC
migrate_to_dc.go#L52: s := c.session.Load()
migrate_to_dc.go#L68: from := c.session.Load().DC
pfs.go#L20: dc := c.session.Load().DC
pfs.go#L37: if old := s.Load(); !old.AuthKey.Zero() {
pool.go#L47: return c.primaryPool(c.session.Load().DC, max, nil)
pool.go#L91: return mode != manager.ConnModeCDN && c.session.Load().DC == dcID
pool.go#L168: c.session.Load().DC != dcID &&
session.go#L33: prev := c.session.Load()
session.go#L112: v := s.Load()
session.go#L182: key := s.Load().AuthKey
session.go#L195: key = s.Load().AuthKey
session.go#L356: primaryDC := c.session.Load().DC
session.go#L397: if prev := existing.Load(); data.KeyCreatedAt == 0 && prev.AuthKey.ID == data.AuthKey.ID {
![]() |
The pages are generated with Golds v0.8.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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |