github.com/gotd/td/pool.Session.AuthKey (field)
21 uses
github.com/gotd/td/pool (current package)
session.go#L13: AuthKey crypto.AuthKey
session.go#L44: s.data.AuthKey = crypto.AuthKey{}
session.go#L59: opts.PermKey = data.AuthKey
session.go#L62: opts.Key = data.AuthKey
github.com/gotd/td/telegram
pfs.go#L37: if old := s.Load(); !old.AuthKey.Zero() {
pfs.go#L38: c.droppedKeys[dc] = old.AuthKey.ID
pool.go#L167: data.AuthKey.Zero() &&
session.go#L56: AuthKey: key,
session.go#L93: AuthKey: key,
session.go#L113: if v.AuthKey.Zero() || v.AuthKey.ID != id {
session.go#L117: AuthKey: append([]byte(nil), v.AuthKey.Value[:]...),
session.go#L118: AuthKeyID: append([]byte(nil), v.AuthKey.ID[:]...),
session.go#L157: if data.AuthKey.Zero() {
session.go#L182: key := s.Load().AuthKey
session.go#L195: key = s.Load().AuthKey
session.go#L385: if data.AuthKey.Zero() {
session.go#L391: return ok && dropped == data.AuthKey.ID
session.go#L397: if prev := existing.Load(); data.KeyCreatedAt == 0 && prev.AuthKey.ID == data.AuthKey.ID {
session.go#L420: AuthKey: keyToStore,
![]() |
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. |