github.com/gotd/td/mtproto.Session.ID (field)
15 uses
github.com/gotd/td/mtproto (current package)
bind.go#L74: if s.ID == 0 {
bind.go#L93: TempSessionID: s.ID,
bind.go#L128: log.Int64("temp_session_id", s.ID),
connect.go#L69: if session.ID == 0 && c.reuseSession(ctx, session.Key) {
connect.go#L72: if session.ID == 0 {
new_encrypted_msg.go#L30: SessionID: s.ID,
new_encrypted_msg.go#L49: SessionID: s.ID,
new_encrypted_msg.go#L67: c.traceMessage(WireOut, s.Key, s.Salt, s.ID, id, seq, body.Raw())
new_encrypted_msg.go#L70: SessionID: s.ID,
read.go#L90: if msg.SessionID != session.ID {
read.go#L92: return nil, errors.Wrapf(errRejected, "invalid session (got %d, expected %d)", msg.SessionID, session.ID)
read.go#L182: if c.session().ID == 0 {
session.go#L14: ID int64
session.go#L33: ID: c.sessionID,
session.go#L84: id := s.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. |