github.com/gotd/td/pool.Session.DC (field)
23 uses
github.com/gotd/td/pool (current package)
session.go#L12: DC int
session.go#L40: s.data.DC = dc
github.com/gotd/td/telegram
cdn_conn_dead.go#L54: s = pool.NewSyncSession(pool.Session{DC: dcID})
cdn_conn_dead.go#L57: s.Store(pool.Session{DC: dcID})
client.go#L184: DC: opt.DC,
conn_builder.go#L103: log.Int("dc_id", s.DC),
conn_builder.go#L107: c.primaryDC(s.DC), mode, c.appID,
conn_builder.go#L109: DC: s.DC,
migrate_to_dc.go#L45: if s.DC == dcID {
pfs.go#L20: dc := c.session.Load().DC
pfs.go#L24: c.session.Store(pool.Session{DC: dc})
pfs.go#L28: s.Store(pool.Session{DC: dc})
pfs.go#L48: s = pool.NewSyncSession(pool.Session{DC: dcID})
pfs.go#L51: s.Store(pool.Session{DC: dcID})
pool.go#L48: return c.createPool(s.DC, max, func() pool.Conn {
pool.go#L122: session = pool.NewSyncSession(pool.Session{DC: dcID})
pool.go#L132: c.session.Load().DC != dcID &&
session.go#L34: data.DC = prev.DC
session.go#L54: DC: data.DC,
session.go#L106: primaryDC := c.session.Load().DC
session.go#L134: if existing, ok := target[data.DC]; ok {
session.go#L139: target[data.DC] = pool.NewSyncSession(data)
session.go#L152: DC: dc,
 |
The pages are generated with Golds v0.8.4. (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. |