core

package
v0.86.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IdgenCore

type IdgenCore struct {
	logx.Logger
	MD *metadata.RpcMetadata
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, svcCtx *svc.ServiceContext) *IdgenCore

func (*IdgenCore) IdgenGetCurrentSeqId

func (c *IdgenCore) IdgenGetCurrentSeqId(in *idgen.TLIdgenGetCurrentSeqId) (*mtproto.Int64, error)

IdgenGetCurrentSeqId idgen.getCurrentSeqId key:string = Int64;

func (*IdgenCore) IdgenGetNextNSeqId

func (c *IdgenCore) IdgenGetNextNSeqId(in *idgen.TLIdgenGetNextNSeqId) (*mtproto.Int64, error)

IdgenGetNextNSeqId idgen.getNextNSeqId key:string n:int = Int64;

func (*IdgenCore) IdgenGetNextSeqId

func (c *IdgenCore) IdgenGetNextSeqId(in *idgen.TLIdgenGetNextSeqId) (*mtproto.Int64, error)

IdgenGetNextSeqId idgen.getNextSeqId key:string = Int64;

func (*IdgenCore) IdgenNextId

func (c *IdgenCore) IdgenNextId(in *idgen.TLIdgenNextId) (*mtproto.Int64, error)

IdgenNextId idgen.nextId = Int64;

func (*IdgenCore) IdgenNextIds

func (c *IdgenCore) IdgenNextIds(in *idgen.TLIdgenNextIds) (*idgen.Vector_Long, error)

IdgenNextIds idgen.nextIds num:int = Vector<long>;

func (*IdgenCore) IdgenSetCurrentSeqId

func (c *IdgenCore) IdgenSetCurrentSeqId(in *idgen.TLIdgenSetCurrentSeqId) (*mtproto.Bool, error)

IdgenSetCurrentSeqId idgen.setCurrentSeqId key:string id:long = Bool;

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL