Documentation ¶
Index ¶
- type IDGenClient2
- func (m *IDGenClient2) CurrentChannelMessageBoxId(ctx context.Context, key int64) (seq int32)
- func (m *IDGenClient2) CurrentChannelPtsId(ctx context.Context, key int64) (seq int32)
- func (m *IDGenClient2) CurrentMessageBoxId(ctx context.Context, key int64) (seq int64)
- func (m *IDGenClient2) CurrentPtsId(ctx context.Context, key int64) (seq int32)
- func (m *IDGenClient2) CurrentQtsId(ctx context.Context, key int64) (seq int32)
- func (m *IDGenClient2) CurrentSeqId(ctx context.Context, key int64) (seq int32)
- func (m *IDGenClient2) NextBotUpdateId(ctx context.Context, key int64) (seq int32)
- func (m *IDGenClient2) NextChannelMessageBoxId(ctx context.Context, key int64) (seq int32)
- func (m *IDGenClient2) NextChannelNPtsId(ctx context.Context, key int64, n int) (seq int32)
- func (m *IDGenClient2) NextChannelPtsId(ctx context.Context, key int64) (seq int32)
- func (m *IDGenClient2) NextId(ctx context.Context) (id int64)
- func (m *IDGenClient2) NextIds(ctx context.Context, num int) (idList []int64)
- func (m *IDGenClient2) NextMessageBoxId(ctx context.Context, key int64) (seq int32)
- func (m *IDGenClient2) NextMessageDataId(ctx context.Context, key int64) (seq int32)
- func (m *IDGenClient2) NextNPtsId(ctx context.Context, key int64, n int) (seq int32)
- func (m *IDGenClient2) NextPtsId(ctx context.Context, key int64) (seq int32)
- func (m *IDGenClient2) NextQtsId(ctx context.Context, key int64) (seq int32)
- func (m *IDGenClient2) NextScheduledMessageBoxId(ctx context.Context, key int64) (seq int32)
- func (m *IDGenClient2) NextSeqId(ctx context.Context, key int64) (seq int64)
- func (m *IDGenClient2) SetCurrentChannelMessageBoxId(ctx context.Context, key int64, v int32)
- func (m *IDGenClient2) SetCurrentChannelPtsId(ctx context.Context, key int64, v int32)
- func (m *IDGenClient2) SetCurrentMessageBoxId(ctx context.Context, key int64, v int32)
- func (m *IDGenClient2) SetCurrentMessageDataId(ctx context.Context, key int64, v int32)
- func (m *IDGenClient2) SetCurrentPtsId(ctx context.Context, key int64, v int32)
- func (m *IDGenClient2) SetCurrentQtsId(ctx context.Context, key int64, v int32)
- func (m *IDGenClient2) SetCurrentSeqId(ctx context.Context, key int64, v int32)
- type IdgenClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IDGenClient2 ¶
type IDGenClient2 struct {
// contains filtered or unexported fields
}
func NewIDGenClient2 ¶
func NewIDGenClient2(cli zrpc.Client) IDGenClient2
func (*IDGenClient2) CurrentChannelMessageBoxId ¶
func (m *IDGenClient2) CurrentChannelMessageBoxId(ctx context.Context, key int64) (seq int32)
func (*IDGenClient2) CurrentChannelPtsId ¶
func (m *IDGenClient2) CurrentChannelPtsId(ctx context.Context, key int64) (seq int32)
func (*IDGenClient2) CurrentMessageBoxId ¶
func (m *IDGenClient2) CurrentMessageBoxId(ctx context.Context, key int64) (seq int64)
func (*IDGenClient2) CurrentPtsId ¶
func (m *IDGenClient2) CurrentPtsId(ctx context.Context, key int64) (seq int32)
func (*IDGenClient2) CurrentQtsId ¶
func (m *IDGenClient2) CurrentQtsId(ctx context.Context, key int64) (seq int32)
func (*IDGenClient2) CurrentSeqId ¶
func (m *IDGenClient2) CurrentSeqId(ctx context.Context, key int64) (seq int32)
func (*IDGenClient2) NextBotUpdateId ¶
func (m *IDGenClient2) NextBotUpdateId(ctx context.Context, key int64) (seq int32)
func (*IDGenClient2) NextChannelMessageBoxId ¶
func (m *IDGenClient2) NextChannelMessageBoxId(ctx context.Context, key int64) (seq int32)
func (*IDGenClient2) NextChannelNPtsId ¶
func (*IDGenClient2) NextChannelPtsId ¶
func (m *IDGenClient2) NextChannelPtsId(ctx context.Context, key int64) (seq int32)
func (*IDGenClient2) NextIds ¶
func (m *IDGenClient2) NextIds(ctx context.Context, num int) (idList []int64)
func (*IDGenClient2) NextMessageBoxId ¶
func (m *IDGenClient2) NextMessageBoxId(ctx context.Context, key int64) (seq int32)
func (*IDGenClient2) NextMessageDataId ¶
func (m *IDGenClient2) NextMessageDataId(ctx context.Context, key int64) (seq int32)
func (*IDGenClient2) NextNPtsId ¶
func (*IDGenClient2) NextPtsId ¶
func (m *IDGenClient2) NextPtsId(ctx context.Context, key int64) (seq int32)
func (*IDGenClient2) NextQtsId ¶
func (m *IDGenClient2) NextQtsId(ctx context.Context, key int64) (seq int32)
func (*IDGenClient2) NextScheduledMessageBoxId ¶
func (m *IDGenClient2) NextScheduledMessageBoxId(ctx context.Context, key int64) (seq int32)
func (*IDGenClient2) NextSeqId ¶
func (m *IDGenClient2) NextSeqId(ctx context.Context, key int64) (seq int64)
func (*IDGenClient2) SetCurrentChannelMessageBoxId ¶
func (m *IDGenClient2) SetCurrentChannelMessageBoxId(ctx context.Context, key int64, v int32)
func (*IDGenClient2) SetCurrentChannelPtsId ¶
func (m *IDGenClient2) SetCurrentChannelPtsId(ctx context.Context, key int64, v int32)
func (*IDGenClient2) SetCurrentMessageBoxId ¶
func (m *IDGenClient2) SetCurrentMessageBoxId(ctx context.Context, key int64, v int32)
func (*IDGenClient2) SetCurrentMessageDataId ¶
func (m *IDGenClient2) SetCurrentMessageDataId(ctx context.Context, key int64, v int32)
func (*IDGenClient2) SetCurrentPtsId ¶
func (m *IDGenClient2) SetCurrentPtsId(ctx context.Context, key int64, v int32)
func (*IDGenClient2) SetCurrentQtsId ¶
func (m *IDGenClient2) SetCurrentQtsId(ctx context.Context, key int64, v int32)
func (*IDGenClient2) SetCurrentSeqId ¶
func (m *IDGenClient2) SetCurrentSeqId(ctx context.Context, key int64, v int32)
type IdgenClient ¶
type IdgenClient interface { IdgenNextId(ctx context.Context, in *idgen.TLIdgenNextId) (*mtproto.Int64, error) IdgenNextIds(ctx context.Context, in *idgen.TLIdgenNextIds) (*idgen.Vector_Long, error) IdgenGetCurrentSeqId(ctx context.Context, in *idgen.TLIdgenGetCurrentSeqId) (*mtproto.Int64, error) IdgenSetCurrentSeqId(ctx context.Context, in *idgen.TLIdgenSetCurrentSeqId) (*mtproto.Bool, error) IdgenGetNextSeqId(ctx context.Context, in *idgen.TLIdgenGetNextSeqId) (*mtproto.Int64, error) IdgenGetNextNSeqId(ctx context.Context, in *idgen.TLIdgenGetNextNSeqId) (*mtproto.Int64, error) }
func NewIdgenClient ¶
func NewIdgenClient(cli zrpc.Client) IdgenClient
Click to show internal directories.
Click to hide internal directories.