Documentation ¶
Index ¶
- type Dao
- func (d *Dao) GetCacheApiLayer(ctx context.Context, authKeyId int64) (int32, bool)
- func (d *Dao) GetCacheClient(ctx context.Context, authKeyId int64) string
- func (d *Dao) GetCacheLangpack(ctx context.Context, authKeyId int64) string
- func (d *Dao) GetCachePermAuthKeyId(ctx context.Context, authKeyId int64) int64
- func (d *Dao) GetCachePushSessionID(ctx context.Context, userId int64, authKeyId int64) (int64, bool)
- func (d *Dao) GetCacheUserID(ctx context.Context, authKeyId int64) (int64, bool)
- func (d *Dao) GetFutureSalts(ctx context.Context, authKeyId int64, num int32) ([]*mtproto.TLFutureSalt, error)
- func (d *Dao) GetKeyStateData(ctx context.Context, authKeyId int64) (*authsession.AuthKeyStateData, error)
- func (d *Dao) GetOrFetchNewSalt(ctx context.Context, authKeyId int64) (salt, lastInvalidSalt *mtproto.TLFutureSalt, err error)
- func (d *Dao) Invoke(rpcMetaData *metadata.RpcMetadata, object mtproto.TLObject) (mtproto.TLObject, error)
- func (d *Dao) PutCacheApiLayer(ctx context.Context, authKeyId int64, layer int32)
- func (d *Dao) PutCacheClient(ctx context.Context, authKeyId int64, v string)
- func (d *Dao) PutCacheLangpack(ctx context.Context, authKeyId int64, v string)
- func (d *Dao) PutCachePermAuthKeyId(ctx context.Context, authKeyId, kId int64)
- func (d *Dao) PutCachePushSessionId(ctx context.Context, authKeyId, sessionId int64)
- func (d *Dao) PutCacheUserId(ctx context.Context, authKeyId int64, userId int64)
- func (d *Dao) PutUploadInitConnection(ctx context.Context, authKeyId int64, layer int32, ip string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
type Dao struct { authsession_client.AuthsessionClient status_client.StatusClient *bff_proxy_client.BFFProxyClient // contains filtered or unexported fields }
func (*Dao) GetCacheApiLayer ¶
func (*Dao) GetCacheClient ¶
func (*Dao) GetCacheLangpack ¶
func (*Dao) GetCachePermAuthKeyId ¶ added in v0.87.2
func (*Dao) GetCachePushSessionID ¶
func (*Dao) GetCacheUserID ¶
func (*Dao) GetFutureSalts ¶
func (*Dao) GetKeyStateData ¶
func (d *Dao) GetKeyStateData(ctx context.Context, authKeyId int64) (*authsession.AuthKeyStateData, error)
func (*Dao) GetOrFetchNewSalt ¶
func (*Dao) PutCacheApiLayer ¶
func (*Dao) PutCacheClient ¶
func (*Dao) PutCacheLangpack ¶
func (*Dao) PutCachePermAuthKeyId ¶ added in v0.87.2
func (*Dao) PutCachePushSessionId ¶
func (*Dao) PutCacheUserId ¶
Click to show internal directories.
Click to hide internal directories.