type github.com/gotd/td/pool.SyncSession
13 uses
github.com/gotd/td/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#L66: func (s *SyncSession) Load() (data Session) {
github.com/gotd/td/telegram
client.go#L97: session *pool.SyncSession
client.go#L115: sessions map[int]*pool.SyncSession
client.go#L117: cdnSessions map[int]*pool.SyncSession
client.go#L270: c.sessions = map[int]*pool.SyncSession{}
client.go#L271: c.cdnSessions = map[int]*pool.SyncSession{}
session.go#L132: func (c *Client) storeDCSess(target map[int]*pool.SyncSession, data pool.Session) {
![]() |
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. |