type github.com/gotd/td/mtproto.SessionState
13 uses
github.com/gotd/td/mtproto (current package)
conn.go#L79: sessionState *SessionState
options.go#L99: SessionState *SessionState
session_state.go#L15: type SessionState struct {
session_state.go#L27: func NewSessionState() *SessionState {
session_state.go#L28: return &SessionState{}
session_state.go#L33: func (s *SessionState) TryAcquire() bool {
session_state.go#L44: func (s *SessionState) load(keyID [8]byte) (id int64, contentMessages int32, ok bool) {
session_state.go#L55: func (s *SessionState) release(keyID [8]byte, id int64, contentMessages int32) {
session_state.go#L64: func (s *SessionState) setLastBind(at int64) {
session_state.go#L70: func (s *SessionState) lastBind() int64 {
github.com/gotd/td/telegram
client.go#L172: sessionStates map[int][]*mtproto.SessionState
client.go#L374: c.sessionStates = map[int][]*mtproto.SessionState{}
session.go#L221: func (c *Client) acquireSessionState(dc int) *mtproto.SessionState {
![]() |
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. |