github.com/gotd/td/pool.Session.DC (field)
31 uses
github.com/gotd/td/pool (current package)
session.go#L12: DC int
session.go#L43: s.data.DC = dc
github.com/gotd/td/telegram
cdn_conn_dead.go#L52: s = pool.NewSyncSession(pool.Session{DC: dcID})
cdn_conn_dead.go#L55: s.Store(pool.Session{DC: dcID})
client.go#L258: DC: opt.DC,
conn_builder.go#L127: log.Int("dc_id", s.DC),
conn_builder.go#L130: dialer = c.primaryDC(s.DC)
conn_builder.go#L133: dc := s.DC
download.go#L137: return d.WithScheduler(c.DownloadScheduler(c.session.Load().DC))
logout.go#L65: home = c.session.Load().DC
migrate_to_dc.go#L53: if s.DC == dcID {
migrate_to_dc.go#L68: from := c.session.Load().DC
pfs.go#L20: dc := c.session.Load().DC
pfs.go#L24: c.session.Store(pool.Session{DC: dc})
pfs.go#L41: s.Store(pool.Session{DC: dc})
pfs.go#L57: s = pool.NewSyncSession(pool.Session{DC: dcID})
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#L155: session = pool.NewSyncSession(pool.Session{DC: dcID})
pool.go#L168: c.session.Load().DC != dcID &&
session.go#L35: data.DC = prev.DC
session.go#L55: DC: data.DC,
session.go#L92: DC: dc,
session.go#L162: return c.dcAuthPending[data.DC]
session.go#L346: log.Int("dc_id", sessionData.DC),
session.go#L353: c.setDCAuthorized(c.ctxOrBackground(), sessionData.DC, true)
session.go#L356: primaryDC := c.session.Load().DC
session.go#L390: dropped, ok := c.droppedKeys[data.DC]
session.go#L396: if existing, ok := target[data.DC]; ok {
session.go#L405: target[data.DC] = pool.NewSyncSession(data)
session.go#L418: DC: dc,
 |
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. |