Documentation ¶
Index ¶
- Constants
- Variables
- func CalcSectionID(begin int32, size int, id int32) (bool, int32)
- func CalcSetSectionSize(rangeSize int, perRangeSize int) int
- func CheckClassID(classId int32) (ok bool)
- func FromBool(b *Bool2) bool
- func GetClazzID(clazzName string, layer int) int32
- func GetRPCContextRegisters() map[string]RPCContextTuple
- func NewEmailUnconfirmedX(x int) error
- func NewErr2faConfirmWaitX(second int32) error
- func NewErrFileMigrateX(dc int32) error
- func NewErrFileReferenceX(second int32) error
- func NewErrFloodWaitX(second int32) error
- func NewErrNetworkMigrateX(dc int32) error
- func NewErrPhoneMigrateX(dc int32) error
- func NewErrSlowModeWaitX(second int32) error
- func NewErrTakeoutInitDelayX(second int32) error
- func NewErrUserMigrateX(dc int32) error
- func NewFilePartXMissing(x int32) error
- func RegisterRPCAllocServer(s *grpc.Server, srv RPCAllocServer)
- func RegisterRPCMediateServer(s *grpc.Server, srv RPCMediateServer)
- func RegisterRPCStoreServer(s *grpc.Server, srv RPCStoreServer)
- func StatusErrEqual(err1, err2 error) bool
- func TLObjectToJson(object TLObject) (b []byte)
- type Bool2
- func (m *Bool2) CalcByteSize(layer int32) int
- func (m *Bool2) DebugString() string
- func (m *Bool2) Decode(dBuf *DecodeBuf) error
- func (*Bool2) Descriptor() ([]byte, []int)
- func (m *Bool2) Encode(layer int32) []byte
- func (m *Bool2) GetConstructor() TLConstructor
- func (m *Bool2) GetPredicateName() string
- func (this *Bool2) GoString() string
- func (m *Bool2) Marshal() (dAtA []byte, err error)
- func (m *Bool2) MarshalTo(dAtA []byte) (int, error)
- func (m *Bool2) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Bool2) ProtoMessage()
- func (m *Bool2) Reset()
- func (m *Bool2) Size() (n int)
- func (m *Bool2) String() string
- func (m *Bool2) To_BoolFalse2() *TLBoolFalse2
- func (m *Bool2) To_BoolTrue2() *TLBoolTrue2
- func (m *Bool2) Unmarshal(dAtA []byte) error
- func (m *Bool2) XXX_DiscardUnknown()
- func (m *Bool2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bool2) XXX_Merge(src proto.Message)
- func (m *Bool2) XXX_Size() int
- func (m *Bool2) XXX_Unmarshal(b []byte) error
- type DecodeBuf
- func (m *DecodeBuf) BigInt() *big.Int
- func (m *DecodeBuf) Bool() bool
- func (m *DecodeBuf) Bytes(size int) []byte
- func (m *DecodeBuf) Double() float64
- func (m *DecodeBuf) GetError() error
- func (m *DecodeBuf) GetOffset() int
- func (m *DecodeBuf) GetSize() int
- func (m *DecodeBuf) Int() int32
- func (m *DecodeBuf) Long() int64
- func (m *DecodeBuf) Object() (r TLObject)
- func (m *DecodeBuf) SetError(err error)
- func (m *DecodeBuf) String() string
- func (m *DecodeBuf) StringBytes() []byte
- func (m *DecodeBuf) UInt() uint32
- func (m *DecodeBuf) VectorBytes() [][]byte
- func (m *DecodeBuf) VectorInt() []int32
- func (m *DecodeBuf) VectorLong() []int64
- func (m *DecodeBuf) VectorString() []string
- type EncodeBuf
- func (e *EncodeBuf) BigInt(s *big.Int)
- func (e *EncodeBuf) Bytes(s []byte)
- func (e *EncodeBuf) Double(s float64)
- func (e *EncodeBuf) GetBuf() []byte
- func (e *EncodeBuf) Int(s int32)
- func (e *EncodeBuf) Int16(s int16)
- func (e *EncodeBuf) Long(s int64)
- func (e *EncodeBuf) String(s string)
- func (e *EncodeBuf) StringBytes(s []byte)
- func (e *EncodeBuf) UInt(s uint32)
- func (e *EncodeBuf) UInt16(s uint16)
- func (e *EncodeBuf) VectorBytes(v [][]byte)
- func (e *EncodeBuf) VectorInt(v []int32)
- func (e *EncodeBuf) VectorLong(v []int64)
- func (e *EncodeBuf) VectorObject(v []TLObject, layer int32)
- func (e *EncodeBuf) VectorString(v []string)
- type Int32V
- func (m *Int32V) CalcByteSize(layer int32) int
- func (m *Int32V) DebugString() string
- func (m *Int32V) Decode(dBuf *DecodeBuf) error
- func (*Int32V) Descriptor() ([]byte, []int)
- func (m *Int32V) Encode(layer int32) []byte
- func (m *Int32V) GetConstructor() TLConstructor
- func (m *Int32V) GetPredicateName() string
- func (m *Int32V) GetV() int32
- func (this *Int32V) GoString() string
- func (m *Int32V) Marshal() (dAtA []byte, err error)
- func (m *Int32V) MarshalTo(dAtA []byte) (int, error)
- func (m *Int32V) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Int32V) ProtoMessage()
- func (m *Int32V) Reset()
- func (m *Int32V) Size() (n int)
- func (m *Int32V) String() string
- func (m *Int32V) To_Int32V() *TLInt32V
- func (m *Int32V) Unmarshal(dAtA []byte) error
- func (m *Int32V) XXX_DiscardUnknown()
- func (m *Int32V) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Int32V) XXX_Merge(src proto.Message)
- func (m *Int32V) XXX_Size() int
- func (m *Int32V) XXX_Unmarshal(b []byte) error
- type Int64V
- func (m *Int64V) CalcByteSize(layer int32) int
- func (m *Int64V) DebugString() string
- func (m *Int64V) Decode(dBuf *DecodeBuf) error
- func (*Int64V) Descriptor() ([]byte, []int)
- func (m *Int64V) Encode(layer int32) []byte
- func (m *Int64V) GetConstructor() TLConstructor
- func (m *Int64V) GetPredicateName() string
- func (m *Int64V) GetV() int64
- func (this *Int64V) GoString() string
- func (m *Int64V) Marshal() (dAtA []byte, err error)
- func (m *Int64V) MarshalTo(dAtA []byte) (int, error)
- func (m *Int64V) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Int64V) ProtoMessage()
- func (m *Int64V) Reset()
- func (m *Int64V) Size() (n int)
- func (m *Int64V) String() string
- func (m *Int64V) To_Int64V() *TLInt64V
- func (m *Int64V) Unmarshal(dAtA []byte) error
- func (m *Int64V) XXX_DiscardUnknown()
- func (m *Int64V) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Int64V) XXX_Merge(src proto.Message)
- func (m *Int64V) XXX_Size() int
- func (m *Int64V) XXX_Unmarshal(b []byte) error
- type MaxSeqsData
- func (m *MaxSeqsData) CalcByteSize(layer int32) int
- func (m *MaxSeqsData) DebugString() string
- func (m *MaxSeqsData) Decode(dBuf *DecodeBuf) error
- func (*MaxSeqsData) Descriptor() ([]byte, []int)
- func (m *MaxSeqsData) Encode(layer int32) []byte
- func (m *MaxSeqsData) GetConstructor() TLConstructor
- func (m *MaxSeqsData) GetMaxSeqs() []int64
- func (m *MaxSeqsData) GetPredicateName() string
- func (m *MaxSeqsData) GetSetId() *RangeId
- func (this *MaxSeqsData) GoString() string
- func (m *MaxSeqsData) Marshal() (dAtA []byte, err error)
- func (m *MaxSeqsData) MarshalTo(dAtA []byte) (int, error)
- func (m *MaxSeqsData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MaxSeqsData) ProtoMessage()
- func (m *MaxSeqsData) Reset()
- func (m *MaxSeqsData) Size() (n int)
- func (m *MaxSeqsData) String() string
- func (m *MaxSeqsData) To_MaxSeqsData() *TLMaxSeqsData
- func (m *MaxSeqsData) Unmarshal(dAtA []byte) error
- func (m *MaxSeqsData) XXX_DiscardUnknown()
- func (m *MaxSeqsData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MaxSeqsData) XXX_Merge(src proto.Message)
- func (m *MaxSeqsData) XXX_Size() int
- func (m *MaxSeqsData) XXX_Unmarshal(b []byte) error
- type NodeAddrInfo
- func (m *NodeAddrInfo) CalcByteSize(layer int32) int
- func (m *NodeAddrInfo) DebugString() string
- func (m *NodeAddrInfo) Decode(dBuf *DecodeBuf) error
- func (*NodeAddrInfo) Descriptor() ([]byte, []int)
- func (m *NodeAddrInfo) Encode(layer int32) []byte
- func (m *NodeAddrInfo) GetConstructor() TLConstructor
- func (m *NodeAddrInfo) GetIp() string
- func (m *NodeAddrInfo) GetPort() int32
- func (m *NodeAddrInfo) GetPredicateName() string
- func (this *NodeAddrInfo) GoString() string
- func (m *NodeAddrInfo) Marshal() (dAtA []byte, err error)
- func (m *NodeAddrInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *NodeAddrInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NodeAddrInfo) ProtoMessage()
- func (m *NodeAddrInfo) Reset()
- func (m *NodeAddrInfo) Size() (n int)
- func (m *NodeAddrInfo) String() string
- func (m *NodeAddrInfo) To_NodeAddrInfo() *TLNodeAddrInfo
- func (m *NodeAddrInfo) Unmarshal(dAtA []byte) error
- func (m *NodeAddrInfo) XXX_DiscardUnknown()
- func (m *NodeAddrInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeAddrInfo) XXX_Merge(src proto.Message)
- func (m *NodeAddrInfo) XXX_Size() int
- func (m *NodeAddrInfo) XXX_Unmarshal(b []byte) error
- type PerSetRouterTable
- func (m *PerSetRouterTable) CalcByteSize(layer int32) int
- func (m *PerSetRouterTable) DebugString() string
- func (m *PerSetRouterTable) Decode(dBuf *DecodeBuf) error
- func (*PerSetRouterTable) Descriptor() ([]byte, []int)
- func (m *PerSetRouterTable) Encode(layer int32) []byte
- func (m *PerSetRouterTable) GetConstructor() TLConstructor
- func (m *PerSetRouterTable) GetNodeList() []*RouterNode
- func (m *PerSetRouterTable) GetPredicateName() string
- func (m *PerSetRouterTable) GetSetId() *RangeId
- func (this *PerSetRouterTable) GoString() string
- func (m *PerSetRouterTable) Marshal() (dAtA []byte, err error)
- func (m *PerSetRouterTable) MarshalTo(dAtA []byte) (int, error)
- func (m *PerSetRouterTable) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PerSetRouterTable) ProtoMessage()
- func (m *PerSetRouterTable) Reset()
- func (m *PerSetRouterTable) Size() (n int)
- func (m *PerSetRouterTable) String() string
- func (m *PerSetRouterTable) To_PerSetRouterTable() *TLPerSetRouterTable
- func (m *PerSetRouterTable) Unmarshal(dAtA []byte) error
- func (m *PerSetRouterTable) XXX_DiscardUnknown()
- func (m *PerSetRouterTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PerSetRouterTable) XXX_Merge(src proto.Message)
- func (m *PerSetRouterTable) XXX_Size() int
- func (m *PerSetRouterTable) XXX_Unmarshal(b []byte) error
- type RPCAllocClient
- type RPCAllocServer
- type RPCContextTuple
- type RPCMediateClient
- type RPCMediateServer
- type RPCStoreClient
- type RPCStoreServer
- type RangeID
- type RangeId
- func (m *RangeId) CalcByteSize(layer int32) int
- func (m *RangeId) CalcSectionID(id int32) (bool, int32)
- func (m *RangeId) CalcSetSectionSize(perRangeSize int) int
- func (m *RangeId) CheckIDByRange(id int32) bool
- func (m *RangeId) DebugString() string
- func (m *RangeId) Decode(dBuf *DecodeBuf) error
- func (*RangeId) Descriptor() ([]byte, []int)
- func (m *RangeId) Encode(layer int32) []byte
- func (m *RangeId) GetConstructor() TLConstructor
- func (m *RangeId) GetIdBegin() int32
- func (m *RangeId) GetPredicateName() string
- func (m *RangeId) GetSize2() int32
- func (this *RangeId) GoString() string
- func (m *RangeId) Marshal() (dAtA []byte, err error)
- func (m *RangeId) MarshalTo(dAtA []byte) (int, error)
- func (m *RangeId) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RangeId) ProtoMessage()
- func (m *RangeId) Reset()
- func (m *RangeId) Size() (n int)
- func (m *RangeId) String() string
- func (m *RangeId) To_RangeId() *TLRangeId
- func (m *RangeId) Unmarshal(dAtA []byte) error
- func (m *RangeId) XXX_DiscardUnknown()
- func (m *RangeId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RangeId) XXX_Merge(src proto.Message)
- func (m *RangeId) XXX_Size() int
- func (m *RangeId) XXX_Unmarshal(b []byte) error
- type Router
- func (m *Router) CalcByteSize(layer int32) int
- func (m *Router) DebugString() string
- func (m *Router) Decode(dBuf *DecodeBuf) error
- func (*Router) Descriptor() ([]byte, []int)
- func (m *Router) Encode(layer int32) []byte
- func (m *Router) GetConstructor() TLConstructor
- func (m *Router) GetNodeList() []*RouterNode
- func (m *Router) GetPredicateName() string
- func (m *Router) GetVersion() int32
- func (this *Router) GoString() string
- func (m *Router) Marshal() (dAtA []byte, err error)
- func (m *Router) MarshalTo(dAtA []byte) (int, error)
- func (m *Router) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Router) ProtoMessage()
- func (m *Router) Reset()
- func (m *Router) Size() (n int)
- func (m *Router) String() string
- func (m *Router) To_Router() *TLRouter
- func (m *Router) Unmarshal(dAtA []byte) error
- func (m *Router) XXX_DiscardUnknown()
- func (m *Router) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Router) XXX_Merge(src proto.Message)
- func (m *Router) XXX_Size() int
- func (m *Router) XXX_Unmarshal(b []byte) error
- type RouterNode
- func (m *RouterNode) CalcByteSize(layer int32) int
- func (m *RouterNode) DebugString() string
- func (m *RouterNode) Decode(dBuf *DecodeBuf) error
- func (*RouterNode) Descriptor() ([]byte, []int)
- func (m *RouterNode) Encode(layer int32) []byte
- func (m *RouterNode) GetConstructor() TLConstructor
- func (m *RouterNode) GetNodeAddr() *NodeAddrInfo
- func (m *RouterNode) GetPredicateName() string
- func (m *RouterNode) GetSectionRanges() []*RangeId
- func (this *RouterNode) GoString() string
- func (m *RouterNode) Marshal() (dAtA []byte, err error)
- func (m *RouterNode) MarshalTo(dAtA []byte) (int, error)
- func (m *RouterNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RouterNode) ProtoMessage()
- func (m *RouterNode) Reset()
- func (m *RouterNode) Size() (n int)
- func (m *RouterNode) String() string
- func (m *RouterNode) To_RouterNode() *TLRouterNode
- func (m *RouterNode) Unmarshal(dAtA []byte) error
- func (m *RouterNode) XXX_DiscardUnknown()
- func (m *RouterNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RouterNode) XXX_Merge(src proto.Message)
- func (m *RouterNode) XXX_Size() int
- func (m *RouterNode) XXX_Unmarshal(b []byte) error
- type Section
- type SectionID
- type Sequence
- func (m *Sequence) CalcByteSize(layer int32) int
- func (m *Sequence) DebugString() string
- func (m *Sequence) Decode(dBuf *DecodeBuf) error
- func (*Sequence) Descriptor() ([]byte, []int)
- func (m *Sequence) Encode(layer int32) []byte
- func (m *Sequence) GetConstructor() TLConstructor
- func (m *Sequence) GetPredicateName() string
- func (m *Sequence) GetRouter() *Router
- func (m *Sequence) GetSeq() int64
- func (this *Sequence) GoString() string
- func (m *Sequence) Marshal() (dAtA []byte, err error)
- func (m *Sequence) MarshalTo(dAtA []byte) (int, error)
- func (m *Sequence) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Sequence) ProtoMessage()
- func (m *Sequence) Reset()
- func (m *Sequence) Size() (n int)
- func (m *Sequence) String() string
- func (m *Sequence) To_Sequence() *TLSequence
- func (m *Sequence) Unmarshal(dAtA []byte) error
- func (m *Sequence) XXX_DiscardUnknown()
- func (m *Sequence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Sequence) XXX_Merge(src proto.Message)
- func (m *Sequence) XXX_Size() int
- func (m *Sequence) XXX_Unmarshal(b []byte) error
- type Set
- type SetID
- type SetNodeInfo
- func (m *SetNodeInfo) CalcByteSize(layer int32) int
- func (m *SetNodeInfo) DebugString() string
- func (m *SetNodeInfo) Decode(dBuf *DecodeBuf) error
- func (*SetNodeInfo) Descriptor() ([]byte, []int)
- func (m *SetNodeInfo) Encode(layer int32) []byte
- func (m *SetNodeInfo) GetConstructor() TLConstructor
- func (m *SetNodeInfo) GetNodeAddr() *NodeAddrInfo
- func (m *SetNodeInfo) GetPredicateName() string
- func (m *SetNodeInfo) GetSetId() *RangeId
- func (this *SetNodeInfo) GoString() string
- func (m *SetNodeInfo) Marshal() (dAtA []byte, err error)
- func (m *SetNodeInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *SetNodeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetNodeInfo) ProtoMessage()
- func (m *SetNodeInfo) Reset()
- func (m *SetNodeInfo) Size() (n int)
- func (m *SetNodeInfo) String() string
- func (m *SetNodeInfo) To_SetNodeInfo() *TLSetNodeInfo
- func (m *SetNodeInfo) Unmarshal(dAtA []byte) error
- func (m *SetNodeInfo) XXX_DiscardUnknown()
- func (m *SetNodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetNodeInfo) XXX_Merge(src proto.Message)
- func (m *SetNodeInfo) XXX_Size() int
- func (m *SetNodeInfo) XXX_Unmarshal(b []byte) error
- type SetNodeInfoList
- func (m *SetNodeInfoList) CalcByteSize(layer int32) int
- func (m *SetNodeInfoList) DebugString() string
- func (m *SetNodeInfoList) Decode(dBuf *DecodeBuf) error
- func (*SetNodeInfoList) Descriptor() ([]byte, []int)
- func (m *SetNodeInfoList) Encode(layer int32) []byte
- func (m *SetNodeInfoList) GetConstructor() TLConstructor
- func (m *SetNodeInfoList) GetNodeAddrs() []*NodeAddrInfo
- func (m *SetNodeInfoList) GetPredicateName() string
- func (m *SetNodeInfoList) GetSetId() *RangeId
- func (this *SetNodeInfoList) GoString() string
- func (m *SetNodeInfoList) Marshal() (dAtA []byte, err error)
- func (m *SetNodeInfoList) MarshalTo(dAtA []byte) (int, error)
- func (m *SetNodeInfoList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetNodeInfoList) ProtoMessage()
- func (m *SetNodeInfoList) Reset()
- func (m *SetNodeInfoList) Size() (n int)
- func (m *SetNodeInfoList) String() string
- func (m *SetNodeInfoList) To_SetNodeInfoList() *TLSetNodeInfoList
- func (m *SetNodeInfoList) Unmarshal(dAtA []byte) error
- func (m *SetNodeInfoList) XXX_DiscardUnknown()
- func (m *SetNodeInfoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetNodeInfoList) XXX_Merge(src proto.Message)
- func (m *SetNodeInfoList) XXX_Size() int
- func (m *SetNodeInfoList) XXX_Unmarshal(b []byte) error
- type SliceInt64
- type TLAllocFetchNextSequence
- func (m *TLAllocFetchNextSequence) CalcByteSize(layer int32) int
- func (m *TLAllocFetchNextSequence) DebugString() string
- func (m *TLAllocFetchNextSequence) Decode(dBuf *DecodeBuf) error
- func (*TLAllocFetchNextSequence) Descriptor() ([]byte, []int)
- func (m *TLAllocFetchNextSequence) Encode(layer int32) []byte
- func (m *TLAllocFetchNextSequence) GetConstructor() TLConstructor
- func (m *TLAllocFetchNextSequence) GetId() int32
- func (m *TLAllocFetchNextSequence) GetVersion() int32
- func (this *TLAllocFetchNextSequence) GoString() string
- func (m *TLAllocFetchNextSequence) Marshal() (dAtA []byte, err error)
- func (m *TLAllocFetchNextSequence) MarshalTo(dAtA []byte) (int, error)
- func (m *TLAllocFetchNextSequence) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLAllocFetchNextSequence) ProtoMessage()
- func (m *TLAllocFetchNextSequence) Reset()
- func (m *TLAllocFetchNextSequence) Size() (n int)
- func (m *TLAllocFetchNextSequence) String() string
- func (m *TLAllocFetchNextSequence) Unmarshal(dAtA []byte) error
- func (m *TLAllocFetchNextSequence) XXX_DiscardUnknown()
- func (m *TLAllocFetchNextSequence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLAllocFetchNextSequence) XXX_Merge(src proto.Message)
- func (m *TLAllocFetchNextSequence) XXX_Size() int
- func (m *TLAllocFetchNextSequence) XXX_Unmarshal(b []byte) error
- type TLAllocGetCurrentSequence
- func (m *TLAllocGetCurrentSequence) CalcByteSize(layer int32) int
- func (m *TLAllocGetCurrentSequence) DebugString() string
- func (m *TLAllocGetCurrentSequence) Decode(dBuf *DecodeBuf) error
- func (*TLAllocGetCurrentSequence) Descriptor() ([]byte, []int)
- func (m *TLAllocGetCurrentSequence) Encode(layer int32) []byte
- func (m *TLAllocGetCurrentSequence) GetConstructor() TLConstructor
- func (m *TLAllocGetCurrentSequence) GetId() int32
- func (m *TLAllocGetCurrentSequence) GetVersion() int32
- func (this *TLAllocGetCurrentSequence) GoString() string
- func (m *TLAllocGetCurrentSequence) Marshal() (dAtA []byte, err error)
- func (m *TLAllocGetCurrentSequence) MarshalTo(dAtA []byte) (int, error)
- func (m *TLAllocGetCurrentSequence) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLAllocGetCurrentSequence) ProtoMessage()
- func (m *TLAllocGetCurrentSequence) Reset()
- func (m *TLAllocGetCurrentSequence) Size() (n int)
- func (m *TLAllocGetCurrentSequence) String() string
- func (m *TLAllocGetCurrentSequence) Unmarshal(dAtA []byte) error
- func (m *TLAllocGetCurrentSequence) XXX_DiscardUnknown()
- func (m *TLAllocGetCurrentSequence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLAllocGetCurrentSequence) XXX_Merge(src proto.Message)
- func (m *TLAllocGetCurrentSequence) XXX_Size() int
- func (m *TLAllocGetCurrentSequence) XXX_Unmarshal(b []byte) error
- type TLBoolFalse2
- func (m *TLBoolFalse2) CalcByteSize(layer int32) int
- func (m *TLBoolFalse2) DebugString() string
- func (m *TLBoolFalse2) Decode(dBuf *DecodeBuf) error
- func (*TLBoolFalse2) Descriptor() ([]byte, []int)
- func (m *TLBoolFalse2) Encode(layer int32) []byte
- func (m *TLBoolFalse2) GetData2() *Bool2
- func (m *TLBoolFalse2) GetPredicateName() string
- func (this *TLBoolFalse2) GoString() string
- func (m *TLBoolFalse2) Marshal() (dAtA []byte, err error)
- func (m *TLBoolFalse2) MarshalTo(dAtA []byte) (int, error)
- func (m *TLBoolFalse2) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLBoolFalse2) ProtoMessage()
- func (m *TLBoolFalse2) Reset()
- func (m *TLBoolFalse2) Size() (n int)
- func (m *TLBoolFalse2) String() string
- func (m *TLBoolFalse2) To_Bool2() *Bool2
- func (m *TLBoolFalse2) Unmarshal(dAtA []byte) error
- func (m *TLBoolFalse2) XXX_DiscardUnknown()
- func (m *TLBoolFalse2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLBoolFalse2) XXX_Merge(src proto.Message)
- func (m *TLBoolFalse2) XXX_Size() int
- func (m *TLBoolFalse2) XXX_Unmarshal(b []byte) error
- type TLBoolTrue2
- func (m *TLBoolTrue2) CalcByteSize(layer int32) int
- func (m *TLBoolTrue2) DebugString() string
- func (m *TLBoolTrue2) Decode(dBuf *DecodeBuf) error
- func (*TLBoolTrue2) Descriptor() ([]byte, []int)
- func (m *TLBoolTrue2) Encode(layer int32) []byte
- func (m *TLBoolTrue2) GetData2() *Bool2
- func (m *TLBoolTrue2) GetPredicateName() string
- func (this *TLBoolTrue2) GoString() string
- func (m *TLBoolTrue2) Marshal() (dAtA []byte, err error)
- func (m *TLBoolTrue2) MarshalTo(dAtA []byte) (int, error)
- func (m *TLBoolTrue2) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLBoolTrue2) ProtoMessage()
- func (m *TLBoolTrue2) Reset()
- func (m *TLBoolTrue2) Size() (n int)
- func (m *TLBoolTrue2) String() string
- func (m *TLBoolTrue2) To_Bool2() *Bool2
- func (m *TLBoolTrue2) Unmarshal(dAtA []byte) error
- func (m *TLBoolTrue2) XXX_DiscardUnknown()
- func (m *TLBoolTrue2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLBoolTrue2) XXX_Merge(src proto.Message)
- func (m *TLBoolTrue2) XXX_Size() int
- func (m *TLBoolTrue2) XXX_Unmarshal(b []byte) error
- type TLConstructor
- type TLInt32V
- func (m *TLInt32V) CalcByteSize(layer int32) int
- func (m *TLInt32V) DebugString() string
- func (m *TLInt32V) Decode(dBuf *DecodeBuf) error
- func (*TLInt32V) Descriptor() ([]byte, []int)
- func (m *TLInt32V) Encode(layer int32) []byte
- func (m *TLInt32V) GetData2() *Int32V
- func (m *TLInt32V) GetPredicateName() string
- func (m *TLInt32V) GetV() int32
- func (this *TLInt32V) GoString() string
- func (m *TLInt32V) Marshal() (dAtA []byte, err error)
- func (m *TLInt32V) MarshalTo(dAtA []byte) (int, error)
- func (m *TLInt32V) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLInt32V) ProtoMessage()
- func (m *TLInt32V) Reset()
- func (m *TLInt32V) SetV(v int32)
- func (m *TLInt32V) Size() (n int)
- func (m *TLInt32V) String() string
- func (m *TLInt32V) To_Int32V() *Int32V
- func (m *TLInt32V) Unmarshal(dAtA []byte) error
- func (m *TLInt32V) XXX_DiscardUnknown()
- func (m *TLInt32V) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLInt32V) XXX_Merge(src proto.Message)
- func (m *TLInt32V) XXX_Size() int
- func (m *TLInt32V) XXX_Unmarshal(b []byte) error
- type TLInt64V
- func (m *TLInt64V) CalcByteSize(layer int32) int
- func (m *TLInt64V) DebugString() string
- func (m *TLInt64V) Decode(dBuf *DecodeBuf) error
- func (*TLInt64V) Descriptor() ([]byte, []int)
- func (m *TLInt64V) Encode(layer int32) []byte
- func (m *TLInt64V) GetData2() *Int64V
- func (m *TLInt64V) GetPredicateName() string
- func (m *TLInt64V) GetV() int64
- func (this *TLInt64V) GoString() string
- func (m *TLInt64V) Marshal() (dAtA []byte, err error)
- func (m *TLInt64V) MarshalTo(dAtA []byte) (int, error)
- func (m *TLInt64V) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLInt64V) ProtoMessage()
- func (m *TLInt64V) Reset()
- func (m *TLInt64V) SetV(v int64)
- func (m *TLInt64V) Size() (n int)
- func (m *TLInt64V) String() string
- func (m *TLInt64V) To_Int64V() *Int64V
- func (m *TLInt64V) Unmarshal(dAtA []byte) error
- func (m *TLInt64V) XXX_DiscardUnknown()
- func (m *TLInt64V) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLInt64V) XXX_Merge(src proto.Message)
- func (m *TLInt64V) XXX_Size() int
- func (m *TLInt64V) XXX_Unmarshal(b []byte) error
- type TLMaxSeqsData
- func (m *TLMaxSeqsData) CalcByteSize(layer int32) int
- func (m *TLMaxSeqsData) DebugString() string
- func (m *TLMaxSeqsData) Decode(dBuf *DecodeBuf) error
- func (*TLMaxSeqsData) Descriptor() ([]byte, []int)
- func (m *TLMaxSeqsData) Encode(layer int32) []byte
- func (m *TLMaxSeqsData) GetData2() *MaxSeqsData
- func (m *TLMaxSeqsData) GetMaxSeqs() []int64
- func (m *TLMaxSeqsData) GetPredicateName() string
- func (m *TLMaxSeqsData) GetSetId() *RangeId
- func (this *TLMaxSeqsData) GoString() string
- func (m *TLMaxSeqsData) Marshal() (dAtA []byte, err error)
- func (m *TLMaxSeqsData) MarshalTo(dAtA []byte) (int, error)
- func (m *TLMaxSeqsData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLMaxSeqsData) ProtoMessage()
- func (m *TLMaxSeqsData) Reset()
- func (m *TLMaxSeqsData) SetMaxSeqs(v []int64)
- func (m *TLMaxSeqsData) SetSetId(v *RangeId)
- func (m *TLMaxSeqsData) Size() (n int)
- func (m *TLMaxSeqsData) String() string
- func (m *TLMaxSeqsData) To_MaxSeqsData() *MaxSeqsData
- func (m *TLMaxSeqsData) Unmarshal(dAtA []byte) error
- func (m *TLMaxSeqsData) XXX_DiscardUnknown()
- func (m *TLMaxSeqsData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLMaxSeqsData) XXX_Merge(src proto.Message)
- func (m *TLMaxSeqsData) XXX_Size() int
- func (m *TLMaxSeqsData) XXX_Unmarshal(b []byte) error
- type TLMediateRegisterAllocSvr
- func (m *TLMediateRegisterAllocSvr) CalcByteSize(layer int32) int
- func (m *TLMediateRegisterAllocSvr) DebugString() string
- func (m *TLMediateRegisterAllocSvr) Decode(dBuf *DecodeBuf) error
- func (*TLMediateRegisterAllocSvr) Descriptor() ([]byte, []int)
- func (m *TLMediateRegisterAllocSvr) Encode(layer int32) []byte
- func (m *TLMediateRegisterAllocSvr) GetConstructor() TLConstructor
- func (m *TLMediateRegisterAllocSvr) GetNodeAddr() *NodeAddrInfo
- func (this *TLMediateRegisterAllocSvr) GoString() string
- func (m *TLMediateRegisterAllocSvr) Marshal() (dAtA []byte, err error)
- func (m *TLMediateRegisterAllocSvr) MarshalTo(dAtA []byte) (int, error)
- func (m *TLMediateRegisterAllocSvr) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLMediateRegisterAllocSvr) ProtoMessage()
- func (m *TLMediateRegisterAllocSvr) Reset()
- func (m *TLMediateRegisterAllocSvr) Size() (n int)
- func (m *TLMediateRegisterAllocSvr) String() string
- func (m *TLMediateRegisterAllocSvr) Unmarshal(dAtA []byte) error
- func (m *TLMediateRegisterAllocSvr) XXX_DiscardUnknown()
- func (m *TLMediateRegisterAllocSvr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLMediateRegisterAllocSvr) XXX_Merge(src proto.Message)
- func (m *TLMediateRegisterAllocSvr) XXX_Size() int
- func (m *TLMediateRegisterAllocSvr) XXX_Unmarshal(b []byte) error
- type TLMediateUnRegisterAllocSvr
- func (m *TLMediateUnRegisterAllocSvr) CalcByteSize(layer int32) int
- func (m *TLMediateUnRegisterAllocSvr) DebugString() string
- func (m *TLMediateUnRegisterAllocSvr) Decode(dBuf *DecodeBuf) error
- func (*TLMediateUnRegisterAllocSvr) Descriptor() ([]byte, []int)
- func (m *TLMediateUnRegisterAllocSvr) Encode(layer int32) []byte
- func (m *TLMediateUnRegisterAllocSvr) GetConstructor() TLConstructor
- func (m *TLMediateUnRegisterAllocSvr) GetNodeAddr() *NodeAddrInfo
- func (this *TLMediateUnRegisterAllocSvr) GoString() string
- func (m *TLMediateUnRegisterAllocSvr) Marshal() (dAtA []byte, err error)
- func (m *TLMediateUnRegisterAllocSvr) MarshalTo(dAtA []byte) (int, error)
- func (m *TLMediateUnRegisterAllocSvr) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLMediateUnRegisterAllocSvr) ProtoMessage()
- func (m *TLMediateUnRegisterAllocSvr) Reset()
- func (m *TLMediateUnRegisterAllocSvr) Size() (n int)
- func (m *TLMediateUnRegisterAllocSvr) String() string
- func (m *TLMediateUnRegisterAllocSvr) Unmarshal(dAtA []byte) error
- func (m *TLMediateUnRegisterAllocSvr) XXX_DiscardUnknown()
- func (m *TLMediateUnRegisterAllocSvr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLMediateUnRegisterAllocSvr) XXX_Merge(src proto.Message)
- func (m *TLMediateUnRegisterAllocSvr) XXX_Size() int
- func (m *TLMediateUnRegisterAllocSvr) XXX_Unmarshal(b []byte) error
- type TLNodeAddrInfo
- func (m *TLNodeAddrInfo) CalcByteSize(layer int32) int
- func (m *TLNodeAddrInfo) DebugString() string
- func (m *TLNodeAddrInfo) Decode(dBuf *DecodeBuf) error
- func (*TLNodeAddrInfo) Descriptor() ([]byte, []int)
- func (m *TLNodeAddrInfo) Encode(layer int32) []byte
- func (m *TLNodeAddrInfo) GetData2() *NodeAddrInfo
- func (m *TLNodeAddrInfo) GetIp() string
- func (m *TLNodeAddrInfo) GetPort() int32
- func (m *TLNodeAddrInfo) GetPredicateName() string
- func (this *TLNodeAddrInfo) GoString() string
- func (m *TLNodeAddrInfo) Marshal() (dAtA []byte, err error)
- func (m *TLNodeAddrInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *TLNodeAddrInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLNodeAddrInfo) ProtoMessage()
- func (m *TLNodeAddrInfo) Reset()
- func (m *TLNodeAddrInfo) SetIp(v string)
- func (m *TLNodeAddrInfo) SetPort(v int32)
- func (m *TLNodeAddrInfo) Size() (n int)
- func (m *TLNodeAddrInfo) String() string
- func (m *TLNodeAddrInfo) To_NodeAddrInfo() *NodeAddrInfo
- func (m *TLNodeAddrInfo) Unmarshal(dAtA []byte) error
- func (m *TLNodeAddrInfo) XXX_DiscardUnknown()
- func (m *TLNodeAddrInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLNodeAddrInfo) XXX_Merge(src proto.Message)
- func (m *TLNodeAddrInfo) XXX_Size() int
- func (m *TLNodeAddrInfo) XXX_Unmarshal(b []byte) error
- type TLObject
- type TLPerSetRouterTable
- func (m *TLPerSetRouterTable) CalcByteSize(layer int32) int
- func (m *TLPerSetRouterTable) DebugString() string
- func (m *TLPerSetRouterTable) Decode(dBuf *DecodeBuf) error
- func (*TLPerSetRouterTable) Descriptor() ([]byte, []int)
- func (m *TLPerSetRouterTable) Encode(layer int32) []byte
- func (m *TLPerSetRouterTable) GetData2() *PerSetRouterTable
- func (m *TLPerSetRouterTable) GetNodeList() []*RouterNode
- func (m *TLPerSetRouterTable) GetPredicateName() string
- func (m *TLPerSetRouterTable) GetSetId() *RangeId
- func (this *TLPerSetRouterTable) GoString() string
- func (m *TLPerSetRouterTable) Marshal() (dAtA []byte, err error)
- func (m *TLPerSetRouterTable) MarshalTo(dAtA []byte) (int, error)
- func (m *TLPerSetRouterTable) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLPerSetRouterTable) ProtoMessage()
- func (m *TLPerSetRouterTable) Reset()
- func (m *TLPerSetRouterTable) SetNodeList(v []*RouterNode)
- func (m *TLPerSetRouterTable) SetSetId(v *RangeId)
- func (m *TLPerSetRouterTable) Size() (n int)
- func (m *TLPerSetRouterTable) String() string
- func (m *TLPerSetRouterTable) To_PerSetRouterTable() *PerSetRouterTable
- func (m *TLPerSetRouterTable) Unmarshal(dAtA []byte) error
- func (m *TLPerSetRouterTable) XXX_DiscardUnknown()
- func (m *TLPerSetRouterTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLPerSetRouterTable) XXX_Merge(src proto.Message)
- func (m *TLPerSetRouterTable) XXX_Size() int
- func (m *TLPerSetRouterTable) XXX_Unmarshal(b []byte) error
- type TLRangeId
- func (m *TLRangeId) CalcByteSize(layer int32) int
- func (m *TLRangeId) DebugString() string
- func (m *TLRangeId) Decode(dBuf *DecodeBuf) error
- func (*TLRangeId) Descriptor() ([]byte, []int)
- func (m *TLRangeId) Encode(layer int32) []byte
- func (m *TLRangeId) GetData2() *RangeId
- func (m *TLRangeId) GetIdBegin() int32
- func (m *TLRangeId) GetPredicateName() string
- func (m *TLRangeId) GetSize2() int32
- func (this *TLRangeId) GoString() string
- func (m *TLRangeId) Marshal() (dAtA []byte, err error)
- func (m *TLRangeId) MarshalTo(dAtA []byte) (int, error)
- func (m *TLRangeId) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLRangeId) ProtoMessage()
- func (m *TLRangeId) Reset()
- func (m *TLRangeId) SetIdBegin(v int32)
- func (m *TLRangeId) SetSize2(v int32)
- func (m *TLRangeId) Size() (n int)
- func (m *TLRangeId) String() string
- func (m *TLRangeId) To_RangeId() *RangeId
- func (m *TLRangeId) Unmarshal(dAtA []byte) error
- func (m *TLRangeId) XXX_DiscardUnknown()
- func (m *TLRangeId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLRangeId) XXX_Merge(src proto.Message)
- func (m *TLRangeId) XXX_Size() int
- func (m *TLRangeId) XXX_Unmarshal(b []byte) error
- type TLRouter
- func (m *TLRouter) CalcByteSize(layer int32) int
- func (m *TLRouter) DebugString() string
- func (m *TLRouter) Decode(dBuf *DecodeBuf) error
- func (*TLRouter) Descriptor() ([]byte, []int)
- func (m *TLRouter) Encode(layer int32) []byte
- func (m *TLRouter) GetData2() *Router
- func (m *TLRouter) GetNodeList() []*RouterNode
- func (m *TLRouter) GetPredicateName() string
- func (m *TLRouter) GetVersion() int32
- func (this *TLRouter) GoString() string
- func (m *TLRouter) Marshal() (dAtA []byte, err error)
- func (m *TLRouter) MarshalTo(dAtA []byte) (int, error)
- func (m *TLRouter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLRouter) ProtoMessage()
- func (m *TLRouter) Reset()
- func (m *TLRouter) SetNodeList(v []*RouterNode)
- func (m *TLRouter) SetVersion(v int32)
- func (m *TLRouter) Size() (n int)
- func (m *TLRouter) String() string
- func (m *TLRouter) To_Router() *Router
- func (m *TLRouter) Unmarshal(dAtA []byte) error
- func (m *TLRouter) XXX_DiscardUnknown()
- func (m *TLRouter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLRouter) XXX_Merge(src proto.Message)
- func (m *TLRouter) XXX_Size() int
- func (m *TLRouter) XXX_Unmarshal(b []byte) error
- type TLRouterNode
- func (m *TLRouterNode) CalcByteSize(layer int32) int
- func (m *TLRouterNode) DebugString() string
- func (m *TLRouterNode) Decode(dBuf *DecodeBuf) error
- func (*TLRouterNode) Descriptor() ([]byte, []int)
- func (m *TLRouterNode) Encode(layer int32) []byte
- func (m *TLRouterNode) GetData2() *RouterNode
- func (m *TLRouterNode) GetNodeAddr() *NodeAddrInfo
- func (m *TLRouterNode) GetPredicateName() string
- func (m *TLRouterNode) GetSectionRanges() []*RangeId
- func (this *TLRouterNode) GoString() string
- func (m *TLRouterNode) Marshal() (dAtA []byte, err error)
- func (m *TLRouterNode) MarshalTo(dAtA []byte) (int, error)
- func (m *TLRouterNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLRouterNode) ProtoMessage()
- func (m *TLRouterNode) Reset()
- func (m *TLRouterNode) SetNodeAddr(v *NodeAddrInfo)
- func (m *TLRouterNode) SetSectionRanges(v []*RangeId)
- func (m *TLRouterNode) Size() (n int)
- func (m *TLRouterNode) String() string
- func (m *TLRouterNode) To_RouterNode() *RouterNode
- func (m *TLRouterNode) Unmarshal(dAtA []byte) error
- func (m *TLRouterNode) XXX_DiscardUnknown()
- func (m *TLRouterNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLRouterNode) XXX_Merge(src proto.Message)
- func (m *TLRouterNode) XXX_Size() int
- func (m *TLRouterNode) XXX_Unmarshal(b []byte) error
- type TLSequence
- func (m *TLSequence) CalcByteSize(layer int32) int
- func (m *TLSequence) DebugString() string
- func (m *TLSequence) Decode(dBuf *DecodeBuf) error
- func (*TLSequence) Descriptor() ([]byte, []int)
- func (m *TLSequence) Encode(layer int32) []byte
- func (m *TLSequence) GetData2() *Sequence
- func (m *TLSequence) GetPredicateName() string
- func (m *TLSequence) GetRouter() *Router
- func (m *TLSequence) GetSeq() int64
- func (this *TLSequence) GoString() string
- func (m *TLSequence) Marshal() (dAtA []byte, err error)
- func (m *TLSequence) MarshalTo(dAtA []byte) (int, error)
- func (m *TLSequence) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLSequence) ProtoMessage()
- func (m *TLSequence) Reset()
- func (m *TLSequence) SetRouter(v *Router)
- func (m *TLSequence) SetSeq(v int64)
- func (m *TLSequence) Size() (n int)
- func (m *TLSequence) String() string
- func (m *TLSequence) To_Sequence() *Sequence
- func (m *TLSequence) Unmarshal(dAtA []byte) error
- func (m *TLSequence) XXX_DiscardUnknown()
- func (m *TLSequence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLSequence) XXX_Merge(src proto.Message)
- func (m *TLSequence) XXX_Size() int
- func (m *TLSequence) XXX_Unmarshal(b []byte) error
- type TLSetNodeInfo
- func (m *TLSetNodeInfo) CalcByteSize(layer int32) int
- func (m *TLSetNodeInfo) DebugString() string
- func (m *TLSetNodeInfo) Decode(dBuf *DecodeBuf) error
- func (*TLSetNodeInfo) Descriptor() ([]byte, []int)
- func (m *TLSetNodeInfo) Encode(layer int32) []byte
- func (m *TLSetNodeInfo) GetData2() *SetNodeInfo
- func (m *TLSetNodeInfo) GetNodeAddr() *NodeAddrInfo
- func (m *TLSetNodeInfo) GetPredicateName() string
- func (m *TLSetNodeInfo) GetSetId() *RangeId
- func (this *TLSetNodeInfo) GoString() string
- func (m *TLSetNodeInfo) Marshal() (dAtA []byte, err error)
- func (m *TLSetNodeInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *TLSetNodeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLSetNodeInfo) ProtoMessage()
- func (m *TLSetNodeInfo) Reset()
- func (m *TLSetNodeInfo) SetNodeAddr(v *NodeAddrInfo)
- func (m *TLSetNodeInfo) SetSetId(v *RangeId)
- func (m *TLSetNodeInfo) Size() (n int)
- func (m *TLSetNodeInfo) String() string
- func (m *TLSetNodeInfo) To_SetNodeInfo() *SetNodeInfo
- func (m *TLSetNodeInfo) Unmarshal(dAtA []byte) error
- func (m *TLSetNodeInfo) XXX_DiscardUnknown()
- func (m *TLSetNodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLSetNodeInfo) XXX_Merge(src proto.Message)
- func (m *TLSetNodeInfo) XXX_Size() int
- func (m *TLSetNodeInfo) XXX_Unmarshal(b []byte) error
- type TLSetNodeInfoList
- func (m *TLSetNodeInfoList) CalcByteSize(layer int32) int
- func (m *TLSetNodeInfoList) DebugString() string
- func (m *TLSetNodeInfoList) Decode(dBuf *DecodeBuf) error
- func (*TLSetNodeInfoList) Descriptor() ([]byte, []int)
- func (m *TLSetNodeInfoList) Encode(layer int32) []byte
- func (m *TLSetNodeInfoList) GetData2() *SetNodeInfoList
- func (m *TLSetNodeInfoList) GetNodeAddrs() []*NodeAddrInfo
- func (m *TLSetNodeInfoList) GetPredicateName() string
- func (m *TLSetNodeInfoList) GetSetId() *RangeId
- func (this *TLSetNodeInfoList) GoString() string
- func (m *TLSetNodeInfoList) Marshal() (dAtA []byte, err error)
- func (m *TLSetNodeInfoList) MarshalTo(dAtA []byte) (int, error)
- func (m *TLSetNodeInfoList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLSetNodeInfoList) ProtoMessage()
- func (m *TLSetNodeInfoList) Reset()
- func (m *TLSetNodeInfoList) SetNodeAddrs(v []*NodeAddrInfo)
- func (m *TLSetNodeInfoList) SetSetId(v *RangeId)
- func (m *TLSetNodeInfoList) Size() (n int)
- func (m *TLSetNodeInfoList) String() string
- func (m *TLSetNodeInfoList) To_SetNodeInfoList() *SetNodeInfoList
- func (m *TLSetNodeInfoList) Unmarshal(dAtA []byte) error
- func (m *TLSetNodeInfoList) XXX_DiscardUnknown()
- func (m *TLSetNodeInfoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLSetNodeInfoList) XXX_Merge(src proto.Message)
- func (m *TLSetNodeInfoList) XXX_Size() int
- func (m *TLSetNodeInfoList) XXX_Unmarshal(b []byte) error
- type TLStoreLoadMaxSeqsData
- func (m *TLStoreLoadMaxSeqsData) CalcByteSize(layer int32) int
- func (m *TLStoreLoadMaxSeqsData) DebugString() string
- func (m *TLStoreLoadMaxSeqsData) Decode(dBuf *DecodeBuf) error
- func (*TLStoreLoadMaxSeqsData) Descriptor() ([]byte, []int)
- func (m *TLStoreLoadMaxSeqsData) Encode(layer int32) []byte
- func (m *TLStoreLoadMaxSeqsData) GetConstructor() TLConstructor
- func (this *TLStoreLoadMaxSeqsData) GoString() string
- func (m *TLStoreLoadMaxSeqsData) Marshal() (dAtA []byte, err error)
- func (m *TLStoreLoadMaxSeqsData) MarshalTo(dAtA []byte) (int, error)
- func (m *TLStoreLoadMaxSeqsData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLStoreLoadMaxSeqsData) ProtoMessage()
- func (m *TLStoreLoadMaxSeqsData) Reset()
- func (m *TLStoreLoadMaxSeqsData) Size() (n int)
- func (m *TLStoreLoadMaxSeqsData) String() string
- func (m *TLStoreLoadMaxSeqsData) Unmarshal(dAtA []byte) error
- func (m *TLStoreLoadMaxSeqsData) XXX_DiscardUnknown()
- func (m *TLStoreLoadMaxSeqsData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLStoreLoadMaxSeqsData) XXX_Merge(src proto.Message)
- func (m *TLStoreLoadMaxSeqsData) XXX_Size() int
- func (m *TLStoreLoadMaxSeqsData) XXX_Unmarshal(b []byte) error
- type TLStoreLoadRouteTable
- func (m *TLStoreLoadRouteTable) CalcByteSize(layer int32) int
- func (m *TLStoreLoadRouteTable) DebugString() string
- func (m *TLStoreLoadRouteTable) Decode(dBuf *DecodeBuf) error
- func (*TLStoreLoadRouteTable) Descriptor() ([]byte, []int)
- func (m *TLStoreLoadRouteTable) Encode(layer int32) []byte
- func (m *TLStoreLoadRouteTable) GetConstructor() TLConstructor
- func (this *TLStoreLoadRouteTable) GoString() string
- func (m *TLStoreLoadRouteTable) Marshal() (dAtA []byte, err error)
- func (m *TLStoreLoadRouteTable) MarshalTo(dAtA []byte) (int, error)
- func (m *TLStoreLoadRouteTable) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLStoreLoadRouteTable) ProtoMessage()
- func (m *TLStoreLoadRouteTable) Reset()
- func (m *TLStoreLoadRouteTable) Size() (n int)
- func (m *TLStoreLoadRouteTable) String() string
- func (m *TLStoreLoadRouteTable) Unmarshal(dAtA []byte) error
- func (m *TLStoreLoadRouteTable) XXX_DiscardUnknown()
- func (m *TLStoreLoadRouteTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLStoreLoadRouteTable) XXX_Merge(src proto.Message)
- func (m *TLStoreLoadRouteTable) XXX_Size() int
- func (m *TLStoreLoadRouteTable) XXX_Unmarshal(b []byte) error
- type TLStoreSaveMaxSeq
- func (m *TLStoreSaveMaxSeq) CalcByteSize(layer int32) int
- func (m *TLStoreSaveMaxSeq) DebugString() string
- func (m *TLStoreSaveMaxSeq) Decode(dBuf *DecodeBuf) error
- func (*TLStoreSaveMaxSeq) Descriptor() ([]byte, []int)
- func (m *TLStoreSaveMaxSeq) Encode(layer int32) []byte
- func (m *TLStoreSaveMaxSeq) GetConstructor() TLConstructor
- func (m *TLStoreSaveMaxSeq) GetId() int32
- func (m *TLStoreSaveMaxSeq) GetMaxSeq() int64
- func (this *TLStoreSaveMaxSeq) GoString() string
- func (m *TLStoreSaveMaxSeq) Marshal() (dAtA []byte, err error)
- func (m *TLStoreSaveMaxSeq) MarshalTo(dAtA []byte) (int, error)
- func (m *TLStoreSaveMaxSeq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLStoreSaveMaxSeq) ProtoMessage()
- func (m *TLStoreSaveMaxSeq) Reset()
- func (m *TLStoreSaveMaxSeq) Size() (n int)
- func (m *TLStoreSaveMaxSeq) String() string
- func (m *TLStoreSaveMaxSeq) Unmarshal(dAtA []byte) error
- func (m *TLStoreSaveMaxSeq) XXX_DiscardUnknown()
- func (m *TLStoreSaveMaxSeq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLStoreSaveMaxSeq) XXX_Merge(src proto.Message)
- func (m *TLStoreSaveMaxSeq) XXX_Size() int
- func (m *TLStoreSaveMaxSeq) XXX_Unmarshal(b []byte) error
- type TLStoreSaveRouteTable
- func (m *TLStoreSaveRouteTable) CalcByteSize(layer int32) int
- func (m *TLStoreSaveRouteTable) DebugString() string
- func (m *TLStoreSaveRouteTable) Decode(dBuf *DecodeBuf) error
- func (*TLStoreSaveRouteTable) Descriptor() ([]byte, []int)
- func (m *TLStoreSaveRouteTable) Encode(layer int32) []byte
- func (m *TLStoreSaveRouteTable) GetConstructor() TLConstructor
- func (m *TLStoreSaveRouteTable) GetRouter() *Router
- func (this *TLStoreSaveRouteTable) GoString() string
- func (m *TLStoreSaveRouteTable) Marshal() (dAtA []byte, err error)
- func (m *TLStoreSaveRouteTable) MarshalTo(dAtA []byte) (int, error)
- func (m *TLStoreSaveRouteTable) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLStoreSaveRouteTable) ProtoMessage()
- func (m *TLStoreSaveRouteTable) Reset()
- func (m *TLStoreSaveRouteTable) Size() (n int)
- func (m *TLStoreSaveRouteTable) String() string
- func (m *TLStoreSaveRouteTable) Unmarshal(dAtA []byte) error
- func (m *TLStoreSaveRouteTable) XXX_DiscardUnknown()
- func (m *TLStoreSaveRouteTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLStoreSaveRouteTable) XXX_Merge(src proto.Message)
- func (m *TLStoreSaveRouteTable) XXX_Size() int
- func (m *TLStoreSaveRouteTable) XXX_Unmarshal(b []byte) error
- type TLVoid
- func (m *TLVoid) CalcByteSize(layer int32) int
- func (m *TLVoid) DebugString() string
- func (m *TLVoid) Decode(dBuf *DecodeBuf) error
- func (*TLVoid) Descriptor() ([]byte, []int)
- func (m *TLVoid) Encode(layer int32) []byte
- func (m *TLVoid) GetData2() *Void2
- func (m *TLVoid) GetPredicateName() string
- func (this *TLVoid) GoString() string
- func (m *TLVoid) Marshal() (dAtA []byte, err error)
- func (m *TLVoid) MarshalTo(dAtA []byte) (int, error)
- func (m *TLVoid) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLVoid) ProtoMessage()
- func (m *TLVoid) Reset()
- func (m *TLVoid) Size() (n int)
- func (m *TLVoid) String() string
- func (m *TLVoid) To_Void2() *Void2
- func (m *TLVoid) Unmarshal(dAtA []byte) error
- func (m *TLVoid) XXX_DiscardUnknown()
- func (m *TLVoid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLVoid) XXX_Merge(src proto.Message)
- func (m *TLVoid) XXX_Size() int
- func (m *TLVoid) XXX_Unmarshal(b []byte) error
- type UnimplementedRPCAllocServer
- type UnimplementedRPCMediateServer
- type UnimplementedRPCStoreServer
- func (*UnimplementedRPCStoreServer) StoreLoadMaxSeqsData(ctx context.Context, req *TLStoreLoadMaxSeqsData) (*MaxSeqsData, error)
- func (*UnimplementedRPCStoreServer) StoreLoadRouteTable(ctx context.Context, req *TLStoreLoadRouteTable) (*Router, error)
- func (*UnimplementedRPCStoreServer) StoreSaveMaxSeq(ctx context.Context, req *TLStoreSaveMaxSeq) (*Int64V, error)
- func (*UnimplementedRPCStoreServer) StoreSaveRouteTable(ctx context.Context, req *TLStoreSaveRouteTable) (*Bool2, error)
- type Void2
- func (m *Void2) CalcByteSize(layer int32) int
- func (m *Void2) DebugString() string
- func (m *Void2) Decode(dBuf *DecodeBuf) error
- func (*Void2) Descriptor() ([]byte, []int)
- func (m *Void2) Encode(layer int32) []byte
- func (m *Void2) GetConstructor() TLConstructor
- func (m *Void2) GetPredicateName() string
- func (this *Void2) GoString() string
- func (m *Void2) Marshal() (dAtA []byte, err error)
- func (m *Void2) MarshalTo(dAtA []byte) (int, error)
- func (m *Void2) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Void2) ProtoMessage()
- func (m *Void2) Reset()
- func (m *Void2) Size() (n int)
- func (m *Void2) String() string
- func (m *Void2) To_Void() *TLVoid
- func (m *Void2) Unmarshal(dAtA []byte) error
- func (m *Void2) XXX_DiscardUnknown()
- func (m *Void2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Void2) XXX_Merge(src proto.Message)
- func (m *Void2) XXX_Size() int
- func (m *Void2) XXX_Unmarshal(b []byte) error
Constants ¶
const ( Predicate_int32V = "int32V" Predicate_int64V = "int64V" Predicate_boolFalse2 = "boolFalse2" Predicate_boolTrue2 = "boolTrue2" Predicate_void = "void" Predicate_nodeAddrInfo = "nodeAddrInfo" Predicate_rangeId = "rangeId" Predicate_routerNode = "routerNode" Predicate_router = "router" Predicate_setNodeInfo = "setNodeInfo" Predicate_setNodeInfoList = "setNodeInfoList" Predicate_perSetRouterTable = "perSetRouterTable" Predicate_sequence = "sequence" Predicate_maxSeqsData = "maxSeqsData" Predicate_alloc_fetchNextSequence = "alloc_fetchNextSequence" Predicate_alloc_getCurrentSequence = "alloc_getCurrentSequence" Predicate_store_loadMaxSeqsData = "store_loadMaxSeqsData" Predicate_store_saveMaxSeq = "store_saveMaxSeq" Predicate_store_loadRouteTable = "store_loadRouteTable" Predicate_store_saveRouteTable = "store_saveRouteTable" Predicate_mediate_registerAllocSvr = "mediate_registerAllocSvr" Predicate_mediate_unRegisterAllocSvr = "mediate_unRegisterAllocSvr" )
const ( /* 303 SEE_OTHER The request must be repeated, but directed to a different data center. Examples of Errors: FILE_MIGRATE_X: the file to be accessed is currently stored in a different data center. PHONE_MIGRATE_X: the phone number a user is trying to use for authorization is associated with a different data center. NETWORK_MIGRATE_X: the source IP address is associated with a different data center (for registration) USER_MIGRATE_X: the user whose identity is being used to execute queries is associated with a different data center (for registration) In all these cases, the error description’s string literal contains the number of the data center (instead of the X) to which the repeated query must be sent. More information about redirects between data centers » */ ErrSeeOther codes.Code = 303 /* 400 BAD_REQUEST The query contains errors. In the event that a request was created using a form and contains user generated data, the user should be notified that the data must be corrected before the query is repeated. Examples of Errors: FIRSTNAME_INVALID: The first name is invalid LASTNAME_INVALID: The last name is invalid PHONE_NUMBER_INVALID: The phone number is invalid PHONE_CODE_HASH_EMPTY: phone_code_hash is missing PHONE_CODE_EMPTY: phone_code is missing PHONE_CODE_EXPIRED: The confirmation code has expired API_ID_INVALID: The api_id/api_hash combination is invalid PHONE_NUMBER_OCCUPIED: The phone number is already in use PHONE_NUMBER_UNOCCUPIED: The phone number is not yet being used USERS_TOO_FEW: Not enough users (to create a chat, for example) USERS_TOO_MUCH: The maximum number of users has been exceeded (to create a chat, for example) TYPE_CONSTRUCTOR_INVALID: The type constructor is invalid FILE_PART_INVALID: The file part number is invalid FILE_PARTS_INVALID: The number of file parts is invalid FILE_PART_Х_MISSING: Part X (where X is a number) of the file is missing from storage MD5_CHECKSUM_INVALID: The MD5 checksums do not match PHOTO_INVALID_DIMENSIONS: The photo dimensions are invalid FIELD_NAME_INVALID: The field with the name FIELD_NAME is invalid FIELD_NAME_EMPTY: The field with the name FIELD_NAME is missing MSG_WAIT_FAILED: A request that must be completed before processing the current request returned an error MSG_WAIT_TIMEOUT: A request that must be completed before processing the current request didn't finish processing yet */ ErrBadRequest codes.Code = 400 ErrUnauthorized codes.Code = 401 /* 403 FORBIDDEN Privacy violation. For example, an attempt to write a message to someone who has blacklisted the current user. */ ErrForbidden codes.Code = 403 /* 404 NOT_FOUND An attempt to invoke a non-existent object, such as a method. */ ErrNotFound codes.Code = 404 /* 406 NOT_ACCEPTABLE Similar to 400 BAD_REQUEST, but the app should not display any error messages to user in UI as a result of this response. The error message will be delivered via updateServiceNotification instead. */ ErrNotAcceptable codes.Code = 406 /* 420 FLOOD The maximum allowed number of attempts to invoke the given method with the given input parameters has been exceeded. For example, in an attempt to request a large number of text messages (SMS) for the same phone number. Error Example: FLOOD_WAIT_X: A wait of X seconds is required (where X is a number) */ ErrFlood codes.Code = 420 /* 500 INTERNAL An internal server error occurred while a request was being processed; for example, there was a disruption while accessing a database or file storage. If a client receives a 500 error, or you believe this error should not have occurred, please collect as much information as possible about the query and error and send it to the developers. */ ErrInternal codes.Code = 500 // ErrTimeOut503 // TODO(@benqi): ???, if ecode < 0, panic // | -503 | Timeout | Timeout while fetching data | ErrTimeOut503 codes.Code = 5030000 // ErrNotReturnClient ErrNotReturnClient ErrNotReturnClient codes.Code = 700 // ErrDatabase db error ErrDatabase codes.Code = 600 )
const ( // MaxIDSize //#ifndef DEBUG_TEST // 生产环境,按uint32_t整个空间来分 MaxIDSize = 0xffffffff // uint32_t范围的id // DebugMaxIDSize //#else // 测试时,为了在开发机上能快速启动、运行和调试 DebugMaxIDSize = 1 << 20 // 1MB // SeqStep // ## 预分配中间层 // - sequence只要求递增,并没有要求连续,也就是说出现一大段跳跃是允许的 // (例如分配出的sequence序列:1,2,3,10,100,101)。 // 于是我们实现了一个简单优雅的策略: // 1. 内存中储存最近一个分配出去的sequence:cur_seq,以及分配上限:max_seq // 2. 分配sequence时,将cur_seq++,同时与分配上限max_seq比较:如果cur_seq > max_seq, // 将分配上限提升一个步长max_seq += step,并持久化max_seq // 3. 重启时,读出持久化的max_seq,赋值给cur_seq // // - 实际应用中每次提升的步长为10000 SeqStep = 10000 // PerSectionIdSize // ## 分号段共享存储 // > 重启时要读取大量的max_seq数据加载到内存中。 // - uid相邻的一段用户属于一个号段,而同个号段内的用户共享一个max_seq, // 这样大幅减少了max_seq数据的大小,同时也降低了IO次数。 // // - 目前seqsvr一个Section包含10万个uid,max_seq数据只有300+KB // 一个Section包含10万个uid,一个uint32_t空间共有42950个Section PerSectionIdSize = 100000 // MaxSectionSize // 整个uid空间内有多少个section MaxSectionSize = DebugMaxIDSize/PerSectionIdSize + 1 // MaxSectionMemSize // 整个uid空间总计占用section内存 // 号段为uint64_t MaxSectionMemSize = MaxSectionSize << 3 )
Variables ¶
var ( // ErrEnterpriseIsBlocked ErrEnterpriseIsBlocked ErrEnterpriseIsBlocked = status.Error(ErrBadRequest, "ERR_ENTERPRISE_IS_BLOCKED") // ErrErrBadRequest ErrErrBadRequest ErrErrBadRequest = status.Error(ErrBadRequest, "ERR_BAD_REQUEST") // ErrThemeFormatInvalid // | 400 | THEME_FORMAT_INVALID | Invalid theme format provided. | ErrThemeFormatInvalid = status.Error(ErrBadRequest, "THEME_FORMAT_INVALID") // ErrWebpushTokenInvalid // | 400 | WEBPUSH_TOKEN_INVALID | The specified web push token is invalid. | ErrWebpushTokenInvalid = status.Error(ErrBadRequest, "WEBPUSH_TOKEN_INVALID") // ErrPersistentTimestampEmpty // | 400 | PERSISTENT_TIMESTAMP_EMPTY | Persistent timestamp empty. | ErrPersistentTimestampEmpty = status.Error(ErrBadRequest, "PERSISTENT_TIMESTAMP_EMPTY") // ErrEntitiesTooLong // | 400 | ENTITIES_TOO_LONG | You provided too many styled message entities. | ErrEntitiesTooLong = status.Error(ErrBadRequest, "ENTITIES_TOO_LONG") // ErrUserVolumeInvalid // | 400 | USER_VOLUME_INVALID | The specified user volume is invalid. | ErrUserVolumeInvalid = status.Error(ErrBadRequest, "USER_VOLUME_INVALID") // ErrFilterIdInvalid // | 400 | FILTER_ID_INVALID | The specified filter ID is invalid. | ErrFilterIdInvalid = status.Error(ErrBadRequest, "FILTER_ID_INVALID") // ErrFileIdInvalid // | 400 | FILE_ID_INVALID | The provided file id is invalid. | ErrFileIdInvalid = status.Error(ErrBadRequest, "FILE_ID_INVALID") // ErrChatInvalid // | 400 | CHAT_INVALID | Invalid chat. | ErrChatInvalid = status.Error(ErrBadRequest, "CHAT_INVALID") // ErrUsernameNotOccupied // | 400 | USERNAME_NOT_OCCUPIED | The provided username is not occupied. | ErrUsernameNotOccupied = status.Error(ErrBadRequest, "USERNAME_NOT_OCCUPIED") // ErrUserIsBlocked // | 400 | USER_IS_BLOCKED | You were blocked by this user. | ErrUserIsBlocked = status.Error(ErrBadRequest, "USER_IS_BLOCKED") // ErrFileReferenceEmpty // | 400 | FILE_REFERENCE_EMPTY | An empty file reference was specified. | ErrFileReferenceEmpty = status.Error(ErrBadRequest, "FILE_REFERENCE_EMPTY") // ErrFromMessageBotDisabled // | 400 | FROM_MESSAGE_BOT_DISABLED | Bots can't use fromMessage min constructors. | ErrFromMessageBotDisabled = status.Error(ErrBadRequest, "FROM_MESSAGE_BOT_DISABLED") // ErrInlineResultExpired // | 400 | INLINE_RESULT_EXPIRED | The inline query expired. | ErrInlineResultExpired = status.Error(ErrBadRequest, "INLINE_RESULT_EXPIRED") // ErrResultIdEmpty // | 400 | RESULT_ID_EMPTY | Result ID empty. | ErrResultIdEmpty = status.Error(ErrBadRequest, "RESULT_ID_EMPTY") // ErrGroupcallNotModified // | 400 | GROUPCALL_NOT_MODIFIED | Group call settings weren't modified. | ErrGroupcallNotModified = status.Error(ErrBadRequest, "GROUPCALL_NOT_MODIFIED") // ErrTitleInvalid // | 400 | TITLE_INVALID | The specified stickerpack title is invalid. | ErrTitleInvalid = status.Error(ErrBadRequest, "TITLE_INVALID") // ErrHashInvalid // | 400 | HASH_INVALID | The provided hash is invalid. | ErrHashInvalid = status.Error(ErrBadRequest, "HASH_INVALID") // ErrUsernameOccupied // | 400 | USERNAME_OCCUPIED | Username is taken. | ErrUsernameOccupied = status.Error(ErrBadRequest, "USERNAME_OCCUPIED") // ErrAdminsTooMuch // | 400 | ADMINS_TOO_MUCH | There are too many admins. | ErrAdminsTooMuch = status.Error(ErrBadRequest, "ADMINS_TOO_MUCH") // ErrConnectionApiIdInvalid // | 400 | CONNECTION_API_ID_INVALID | The provided API id is invalid. | ErrConnectionApiIdInvalid = status.Error(ErrBadRequest, "CONNECTION_API_ID_INVALID") // ErrInputFilterInvalid // | 400 | INPUT_FILTER_INVALID | The specified filter is invalid. | ErrInputFilterInvalid = status.Error(ErrBadRequest, "INPUT_FILTER_INVALID") // ErrStickersEmpty // | 400 | STICKERS_EMPTY | No sticker provided. | ErrStickersEmpty = status.Error(ErrBadRequest, "STICKERS_EMPTY") // ErrEmailVerifyExpired // | 400 | EMAIL_VERIFY_EXPIRED | The verification email has expired. | ErrEmailVerifyExpired = status.Error(ErrBadRequest, "EMAIL_VERIFY_EXPIRED") // ErrReplyMarkupInvalid // | 400 | REPLY_MARKUP_INVALID | The provided reply markup is invalid. | ErrReplyMarkupInvalid = status.Error(ErrBadRequest, "REPLY_MARKUP_INVALID") // ErrSha256HashInvalid // | 400 | SHA256_HASH_INVALID | The provided SHA256 hash is invalid. | ErrSha256HashInvalid = status.Error(ErrBadRequest, "SHA256_HASH_INVALID") // ErrGifIdInvalid // | 400 | GIF_ID_INVALID | The provided GIF ID is invalid. | ErrGifIdInvalid = status.Error(ErrBadRequest, "GIF_ID_INVALID") // ErrMessageTooLong // | 400 | MESSAGE_TOO_LONG | The provided message is too long. | ErrMessageTooLong = status.Error(ErrBadRequest, "MESSAGE_TOO_LONG") // ErrUserBotRequired // | 400 | USER_BOT_REQUIRED | This method can only be called by a bot. | ErrUserBotRequired = status.Error(ErrBadRequest, "USER_BOT_REQUIRED") // ErrPeerIdNotSupported // | 400 | PEER_ID_NOT_SUPPORTED | The provided peer ID is not supported. | ErrPeerIdNotSupported = status.Error(ErrBadRequest, "PEER_ID_NOT_SUPPORTED") // ErrNextOffsetInvalid // | 400 | NEXT_OFFSET_INVALID | The specified offset is longer than 64 bytes. | ErrNextOffsetInvalid = status.Error(ErrBadRequest, "NEXT_OFFSET_INVALID") // ErrEmailUnconfirmed // | 400 | EMAIL_UNCONFIRMED | Email unconfirmed. | ErrEmailUnconfirmed = status.Error(ErrBadRequest, "EMAIL_UNCONFIRMED") // ErrLinkNotModified // | 400 | LINK_NOT_MODIFIED | Discussion link not modified. | ErrLinkNotModified = status.Error(ErrBadRequest, "LINK_NOT_MODIFIED") // ErrUnknownError // | 400 | UNKNOWN_ERROR | Internal error. | ErrUnknownError = status.Error(ErrBadRequest, "UNKNOWN_ERROR") // ErrWebdocumentInvalid // | 400 | WEBDOCUMENT_INVALID | Invalid webdocument URL provided. | ErrWebdocumentInvalid = status.Error(ErrBadRequest, "WEBDOCUMENT_INVALID") // ErrNewSaltInvalid // | 400 | NEW_SALT_INVALID | The new salt is invalid. | ErrNewSaltInvalid = status.Error(ErrBadRequest, "NEW_SALT_INVALID") // ErrUntilDateInvalid // | 400 | UNTIL_DATE_INVALID | Invalid until date provided. | ErrUntilDateInvalid = status.Error(ErrBadRequest, "UNTIL_DATE_INVALID") // ErrBroadcastPublicVotersForbidden // | 400 | BROADCAST_PUBLIC_VOTERS_FORBIDDEN | You can't forward polls with public voters. | ErrBroadcastPublicVotersForbidden = status.Error(ErrBadRequest, "BROADCAST_PUBLIC_VOTERS_FORBIDDEN") // ErrOptionsTooMuch // | 400 | OPTIONS_TOO_MUCH | Too many options provided. | ErrOptionsTooMuch = status.Error(ErrBadRequest, "OPTIONS_TOO_MUCH") // ErrPasswordRequired // | 400 | PASSWORD_REQUIRED | A 2FA password must be configured to use Telegram Passport. | ErrPasswordRequired = status.Error(ErrBadRequest, "PASSWORD_REQUIRED") // ErrMsgIdInvalid // | 400 | MSG_ID_INVALID | Invalid message ID provided. | ErrMsgIdInvalid = status.Error(ErrBadRequest, "MSG_ID_INVALID") // ErrFilePartInvalid // | 400 | FILE_PART_INVALID | The file part number is invalid. | ErrFilePartInvalid = status.Error(ErrBadRequest, "FILE_PART_INVALID") // ErrPhotoInvalid // | 400 | PHOTO_INVALID | Photo invalid. | ErrPhotoInvalid = status.Error(ErrBadRequest, "PHOTO_INVALID") // ErrPollQuestionInvalid // | 400 | POLL_QUESTION_INVALID | One of the poll questions is not acceptable. | ErrPollQuestionInvalid = status.Error(ErrBadRequest, "POLL_QUESTION_INVALID") // ErrPhoneNumberOccupied // | 400 | PHONE_NUMBER_OCCUPIED | The phone number is already in use. | ErrPhoneNumberOccupied = status.Error(ErrBadRequest, "PHONE_NUMBER_OCCUPIED") // ErrSrpPasswordChanged // | 400 | SRP_PASSWORD_CHANGED | Password has changed. | ErrSrpPasswordChanged = status.Error(ErrBadRequest, "SRP_PASSWORD_CHANGED") // ErrChannelsTooMuch // | 400 | CHANNELS_TOO_MUCH | You have joined too many channels/supergroups. | ErrChannelsTooMuch = status.Error(ErrBadRequest, "CHANNELS_TOO_MUCH") // ErrPhotoExtInvalid // | 400 | PHOTO_EXT_INVALID | The extension of the photo is invalid. | ErrPhotoExtInvalid = status.Error(ErrBadRequest, "PHOTO_EXT_INVALID") // ErrEntityMentionUserInvalid // | 400 | ENTITY_MENTION_USER_INVALID | You mentioned an invalid user. | ErrEntityMentionUserInvalid = status.Error(ErrBadRequest, "ENTITY_MENTION_USER_INVALID") // ErrPrivacyKeyInvalid // | 400 | PRIVACY_KEY_INVALID | The privacy key is invalid. | ErrPrivacyKeyInvalid = status.Error(ErrBadRequest, "PRIVACY_KEY_INVALID") // ErrQuizCorrectAnswersTooMuch // | 400 | QUIZ_CORRECT_ANSWERS_TOO_MUCH | You specified too many correct answers in a quiz, quizes can only have one right answer! | ErrQuizCorrectAnswersTooMuch = status.Error(ErrBadRequest, "QUIZ_CORRECT_ANSWERS_TOO_MUCH") // ErrAudioContentUrlEmpty // | 400 | AUDIO_CONTENT_URL_EMPTY | The remote URL specified in the content field is empty. | ErrAudioContentUrlEmpty = status.Error(ErrBadRequest, "AUDIO_CONTENT_URL_EMPTY") // ErrStickerPngDimensions // | 400 | STICKER_PNG_DIMENSIONS | Sticker png dimensions invalid. | ErrStickerPngDimensions = status.Error(ErrBadRequest, "STICKER_PNG_DIMENSIONS") // ErrGeoPointInvalid // | 400 | GEO_POINT_INVALID | Invalid geoposition provided. | ErrGeoPointInvalid = status.Error(ErrBadRequest, "GEO_POINT_INVALID") // ErrUserBlocked // | 400 | USER_BLOCKED | User blocked. | ErrUserBlocked = status.Error(ErrBadRequest, "USER_BLOCKED") // ErrScheduleTooMuch // | 400 | SCHEDULE_TOO_MUCH | There are too many scheduled messages. | ErrScheduleTooMuch = status.Error(ErrBadRequest, "SCHEDULE_TOO_MUCH") // ErrVideoTitleEmpty // | 400 | VIDEO_TITLE_EMPTY | The specified video title is empty. | ErrVideoTitleEmpty = status.Error(ErrBadRequest, "VIDEO_TITLE_EMPTY") // ErrUserIdInvalid // | 400 | USER_ID_INVALID | The provided user ID is invalid. | ErrUserIdInvalid = status.Error(ErrBadRequest, "USER_ID_INVALID") // ErrAccessTokenInvalid // | 400 | ACCESS_TOKEN_INVALID | The provided token is not valid. | ErrAccessTokenInvalid = status.Error(ErrBadRequest, "ACCESS_TOKEN_INVALID") // ErrBotCommandInvalid // | 400 | BOT_COMMAND_INVALID | The specified command is invalid. | ErrBotCommandInvalid = status.Error(ErrBadRequest, "BOT_COMMAND_INVALID") // ErrChatAdminRequired // | 400 | CHAT_ADMIN_REQUIRED | You must be an admin in this chat to do this. | ErrChatAdminRequired = status.Error(ErrBadRequest, "CHAT_ADMIN_REQUIRED") // ErrInputLayerInvalid // | 400 | INPUT_LAYER_INVALID | The provided layer is invalid. | ErrInputLayerInvalid = status.Error(ErrBadRequest, "INPUT_LAYER_INVALID") // ErrMediaPrevInvalid // | 400 | MEDIA_PREV_INVALID | Previous media invalid. | ErrMediaPrevInvalid = status.Error(ErrBadRequest, "MEDIA_PREV_INVALID") // ErrThemeMimeInvalid // | 400 | THEME_MIME_INVALID | The theme's MIME type is invalid. | ErrThemeMimeInvalid = status.Error(ErrBadRequest, "THEME_MIME_INVALID") // ErrWallpaperInvalid // | 400 | WALLPAPER_INVALID | The specified wallpaper is invalid. | ErrWallpaperInvalid = status.Error(ErrBadRequest, "WALLPAPER_INVALID") // ErrAuthTokenExpired // | 400 | AUTH_TOKEN_EXPIRED | The authorization token has expired. | ErrAuthTokenExpired = status.Error(ErrBadRequest, "AUTH_TOKEN_EXPIRED") // ErrUserAdminInvalid // | 400 | USER_ADMIN_INVALID | You're not an admin. | ErrUserAdminInvalid = status.Error(ErrBadRequest, "USER_ADMIN_INVALID") // ErrNewSettingsInvalid // | 400 | NEW_SETTINGS_INVALID | The new password settings are invalid. | ErrNewSettingsInvalid = status.Error(ErrBadRequest, "NEW_SETTINGS_INVALID") // ErrBotChannelsNa // | 400 | BOT_CHANNELS_NA | Bots can't edit admin privileges. | ErrBotChannelsNa = status.Error(ErrBadRequest, "BOT_CHANNELS_NA") // ErrMsgWaitFailed // | 400 | MSG_WAIT_FAILED | A waiting call returned an error. | ErrMsgWaitFailed = status.Error(ErrBadRequest, "MSG_WAIT_FAILED") // ErrBotScoreNotModified // | 400 | BOT_SCORE_NOT_MODIFIED | The score wasn't modified. | ErrBotScoreNotModified = status.Error(ErrBadRequest, "BOT_SCORE_NOT_MODIFIED") // ErrMediaCaptionTooLong // | 400 | MEDIA_CAPTION_TOO_LONG | The caption is too long. | ErrMediaCaptionTooLong = status.Error(ErrBadRequest, "MEDIA_CAPTION_TOO_LONG") // ErrRevoteNotAllowed // | 400 | REVOTE_NOT_ALLOWED | You cannot change your vote. | ErrRevoteNotAllowed = status.Error(ErrBadRequest, "REVOTE_NOT_ALLOWED") // ErrPhotoIdInvalid // | 400 | PHOTO_ID_INVALID | Photo ID invalid. | ErrPhotoIdInvalid = status.Error(ErrBadRequest, "PHOTO_ID_INVALID") // ErrPhoneNumberInvalid // | 400 | PHONE_NUMBER_INVALID | The phone number is invalid. | ErrPhoneNumberInvalid = status.Error(ErrBadRequest, "PHONE_NUMBER_INVALID") // ErrApiIdInvalid // | 400 | API_ID_INVALID | API ID invalid. | ErrApiIdInvalid = status.Error(ErrBadRequest, "API_ID_INVALID") // ErrSessionTooFreshX // | 400 | SESSION_TOO_FRESH_X | This session was created less than 24 hours ago, try again in X seconds. | ErrSessionTooFreshX = status.Error(ErrBadRequest, "SESSION_TOO_FRESH_X") // ErrUserNotParticipant // | 400 | USER_NOT_PARTICIPANT | You're not a member of this supergroup/channel. | ErrUserNotParticipant = status.Error(ErrBadRequest, "USER_NOT_PARTICIPANT") // ErrQueryIdEmpty // | 400 | QUERY_ID_EMPTY | The query ID is empty. | ErrQueryIdEmpty = status.Error(ErrBadRequest, "QUERY_ID_EMPTY") // ErrCallProtocolFlagsInvalid // | 400 | CALL_PROTOCOL_FLAGS_INVALID | Call protocol flags invalid. | ErrCallProtocolFlagsInvalid = status.Error(ErrBadRequest, "CALL_PROTOCOL_FLAGS_INVALID") // ErrLimitInvalid // | 400 | LIMIT_INVALID | The provided limit is invalid. | ErrLimitInvalid = status.Error(ErrBadRequest, "LIMIT_INVALID") // ErrPhoneNumberAppSignupForbidden // | 400 | PHONE_NUMBER_APP_SIGNUP_FORBIDDEN | You can't sign up using this app. | ErrPhoneNumberAppSignupForbidden = status.Error(ErrBadRequest, "PHONE_NUMBER_APP_SIGNUP_FORBIDDEN") // ErrUserBot // | 400 | USER_BOT | Bots can only be admins in channels. | ErrUserBot = status.Error(ErrBadRequest, "USER_BOT") // ErrUserKicked // | 400 | USER_KICKED | This user was kicked from this supergroup/channel. | ErrUserKicked = status.Error(ErrBadRequest, "USER_KICKED") // ErrFilePartsInvalid // | 400 | FILE_PARTS_INVALID | The number of file parts is invalid. | ErrFilePartsInvalid = status.Error(ErrBadRequest, "FILE_PARTS_INVALID") // ErrGraphInvalidReload // | 400 | GRAPH_INVALID_RELOAD | Invalid graph token provided, please reload the stats and provide the updated token. | ErrGraphInvalidReload = status.Error(ErrBadRequest, "GRAPH_INVALID_RELOAD") // ErrPeerIdInvalid // | 400 | PEER_ID_INVALID | The provided peer id is invalid. | ErrPeerIdInvalid = status.Error(ErrBadRequest, "PEER_ID_INVALID") // ErrChatAboutTooLong // | 400 | CHAT_ABOUT_TOO_LONG | Chat about too long. | ErrChatAboutTooLong = status.Error(ErrBadRequest, "CHAT_ABOUT_TOO_LONG") // ErrDataTooLong // | 400 | DATA_TOO_LONG | Data too long. | ErrDataTooLong = status.Error(ErrBadRequest, "DATA_TOO_LONG") // ErrSrpIdInvalid // | 400 | SRP_ID_INVALID | Invalid SRP ID provided. | ErrSrpIdInvalid = status.Error(ErrBadRequest, "SRP_ID_INVALID") // ErrFolderIdEmpty // | 400 | FOLDER_ID_EMPTY | An empty folder ID was specified. | ErrFolderIdEmpty = status.Error(ErrBadRequest, "FOLDER_ID_EMPTY") // ErrResultTypeInvalid // | 400 | RESULT_TYPE_INVALID | Result type invalid. | ErrResultTypeInvalid = status.Error(ErrBadRequest, "RESULT_TYPE_INVALID") // ErrPackShortNameOccupied // | 400 | PACK_SHORT_NAME_OCCUPIED | A stickerpack with this name already exists. | ErrPackShortNameOccupied = status.Error(ErrBadRequest, "PACK_SHORT_NAME_OCCUPIED") // ErrDateEmpty // | 400 | DATE_EMPTY | Date empty. | ErrDateEmpty = status.Error(ErrBadRequest, "DATE_EMPTY") // ErrPublicKeyRequired // | 400 | PUBLIC_KEY_REQUIRED | A public key is required. | ErrPublicKeyRequired = status.Error(ErrBadRequest, "PUBLIC_KEY_REQUIRED") // ErrThemeFileInvalid // | 400 | THEME_FILE_INVALID | Invalid theme file provided. | ErrThemeFileInvalid = status.Error(ErrBadRequest, "THEME_FILE_INVALID") // ErrBroadcastIdInvalid // | 400 | BROADCAST_ID_INVALID | Broadcast ID invalid. | ErrBroadcastIdInvalid = status.Error(ErrBadRequest, "BROADCAST_ID_INVALID") // ErrBotOnesideNotAvail // | 400 | BOT_ONESIDE_NOT_AVAIL | Bots can't pin messages in PM just for themselves. | ErrBotOnesideNotAvail = status.Error(ErrBadRequest, "BOT_ONESIDE_NOT_AVAIL") // ErrCallAlreadyAccepted // | 400 | CALL_ALREADY_ACCEPTED | The call was already accepted. | ErrCallAlreadyAccepted = status.Error(ErrBadRequest, "CALL_ALREADY_ACCEPTED") // ErrTmpPasswordDisabled // | 400 | TMP_PASSWORD_DISABLED | The temporary password is disabled. | ErrTmpPasswordDisabled = status.Error(ErrBadRequest, "TMP_PASSWORD_DISABLED") // ErrBotResponseTimeout // | 400 | BOT_RESPONSE_TIMEOUT | A timeout occurred while fetching data from the bot. | ErrBotResponseTimeout = status.Error(ErrBadRequest, "BOT_RESPONSE_TIMEOUT") // ErrBotDomainInvalid // | 400 | BOT_DOMAIN_INVALID | Bot domain invalid. | ErrBotDomainInvalid = status.Error(ErrBadRequest, "BOT_DOMAIN_INVALID") // ErrEmojiInvalid // | 400 | EMOJI_INVALID | The specified theme emoji is valid. | ErrEmojiInvalid = status.Error(ErrBadRequest, "EMOJI_INVALID") // ErrParticipantsTooFew // | 400 | PARTICIPANTS_TOO_FEW | Not enough participants. | ErrParticipantsTooFew = status.Error(ErrBadRequest, "PARTICIPANTS_TOO_FEW") // ErrStartParamInvalid // | 400 | START_PARAM_INVALID | Start parameter invalid. | ErrStartParamInvalid = status.Error(ErrBadRequest, "START_PARAM_INVALID") // ErrTempAuthKeyAlreadyBound // | 400 | TEMP_AUTH_KEY_ALREADY_BOUND | The passed temporary key is already bound to another perm_auth_key_id. | ErrTempAuthKeyAlreadyBound = status.Error(ErrBadRequest, "TEMP_AUTH_KEY_ALREADY_BOUND") // ErrMediaEmpty // | 400 | MEDIA_EMPTY | The provided media object is invalid. | ErrMediaEmpty = status.Error(ErrBadRequest, "MEDIA_EMPTY") // ErrFileReferenceExpired // | 400 | FILE_REFERENCE_EXPIRED | File reference expired, it must be refetched as described in https://core.telegram.org/api/file_reference. | ErrFileReferenceExpired = status.Error(ErrBadRequest, "FILE_REFERENCE_EXPIRED") // ErrStickerTgsNodoc // | 400 | STICKER_TGS_NODOC | Incorrect document type for sticker. | ErrStickerTgsNodoc = status.Error(ErrBadRequest, "STICKER_TGS_NODOC") // ErrPasswordHashInvalid // | 400 | PASSWORD_HASH_INVALID | The provided password hash is invalid. | ErrPasswordHashInvalid = status.Error(ErrBadRequest, "PASSWORD_HASH_INVALID") // ErrPrivacyValueInvalid // | 400 | PRIVACY_VALUE_INVALID | The specified privacy rule combination is invalid. | ErrPrivacyValueInvalid = status.Error(ErrBadRequest, "PRIVACY_VALUE_INVALID") // ErrBotInlineDisabled // | 400 | BOT_INLINE_DISABLED | This bot can't be used in inline mode. | ErrBotInlineDisabled = status.Error(ErrBadRequest, "BOT_INLINE_DISABLED") // ErrTtlMediaInvalid // | 400 | TTL_MEDIA_INVALID | Invalid media Time To Live was provided. | ErrTtlMediaInvalid = status.Error(ErrBadRequest, "TTL_MEDIA_INVALID") // ErrFilePartSizeInvalid // | 400 | FILE_PART_SIZE_INVALID | The provided file part size is invalid. | ErrFilePartSizeInvalid = status.Error(ErrBadRequest, "FILE_PART_SIZE_INVALID") // ErrCodeHashInvalid // | 400 | CODE_HASH_INVALID | Code hash invalid. | ErrCodeHashInvalid = status.Error(ErrBadRequest, "CODE_HASH_INVALID") // ErrWallpaperFileInvalid // | 400 | WALLPAPER_FILE_INVALID | The specified wallpaper file is invalid. | ErrWallpaperFileInvalid = status.Error(ErrBadRequest, "WALLPAPER_FILE_INVALID") // ErrSlowmodeMultiMsgsDisabled // | 400 | SLOWMODE_MULTI_MSGS_DISABLED | Slowmode is enabled, you cannot forward multiple messages to this group. | ErrSlowmodeMultiMsgsDisabled = status.Error(ErrBadRequest, "SLOWMODE_MULTI_MSGS_DISABLED") // ErrImportFileInvalid // | 400 | IMPORT_FILE_INVALID | The specified chat export file is invalid. | ErrImportFileInvalid = status.Error(ErrBadRequest, "IMPORT_FILE_INVALID") // ErrPasswordMissing // | 400 | PASSWORD_MISSING | You must enable 2FA in order to transfer ownership of a channel. | ErrPasswordMissing = status.Error(ErrBadRequest, "PASSWORD_MISSING") // ErrFileReferenceInvalid // | 400 | FILE_REFERENCE_INVALID | The specified file reference is invalid. | ErrFileReferenceInvalid = status.Error(ErrBadRequest, "FILE_REFERENCE_INVALID") // ErrYouBlockedUser // | 400 | YOU_BLOCKED_USER | You blocked this user. | ErrYouBlockedUser = status.Error(ErrBadRequest, "YOU_BLOCKED_USER") // ErrChatIdEmpty // | 400 | CHAT_ID_EMPTY | The provided chat ID is empty. | ErrChatIdEmpty = status.Error(ErrBadRequest, "CHAT_ID_EMPTY") // ErrEmoticonStickerpackMissing // | 400 | EMOTICON_STICKERPACK_MISSING | | ErrEmoticonStickerpackMissing = status.Error(ErrBadRequest, "EMOTICON_STICKERPACK_MISSING") // ErrPasswordRecoveryExpired // | 400 | PASSWORD_RECOVERY_EXPIRED | The recovery code has expired. | ErrPasswordRecoveryExpired = status.Error(ErrBadRequest, "PASSWORD_RECOVERY_EXPIRED") // ErrMethodInvalid // | 400 | METHOD_INVALID | The specified method is invalid. | ErrMethodInvalid = status.Error(ErrBadRequest, "METHOD_INVALID") // ErrChatIdInvalid // | 400 | CHAT_ID_INVALID | The provided chat id is invalid. | ErrChatIdInvalid = status.Error(ErrBadRequest, "CHAT_ID_INVALID") // ErrDataInvalid // | 400 | DATA_INVALID | Encrypted data invalid. | ErrDataInvalid = status.Error(ErrBadRequest, "DATA_INVALID") // ErrFileEmtpy // | 400 | FILE_EMTPY | An empty file was provided. | ErrFileEmtpy = status.Error(ErrBadRequest, "FILE_EMTPY") // ErrSendMessageMediaInvalid // | 400 | SEND_MESSAGE_MEDIA_INVALID | Invalid media provided. | ErrSendMessageMediaInvalid = status.Error(ErrBadRequest, "SEND_MESSAGE_MEDIA_INVALID") // ErrFilePartTooBig // | 400 | FILE_PART_TOO_BIG | The uploaded file part is too big. | ErrFilePartTooBig = status.Error(ErrBadRequest, "FILE_PART_TOO_BIG") // ErrWallpaperMimeInvalid // | 400 | WALLPAPER_MIME_INVALID | The specified wallpaper MIME type is invalid. | ErrWallpaperMimeInvalid = status.Error(ErrBadRequest, "WALLPAPER_MIME_INVALID") // ErrChannelAddInvalid // | 400 | CHANNEL_ADD_INVALID | Internal error. | ErrChannelAddInvalid = status.Error(ErrBadRequest, "CHANNEL_ADD_INVALID") // ErrEncryptionAlreadyAccepted // | 400 | ENCRYPTION_ALREADY_ACCEPTED | Secret chat already accepted. | ErrEncryptionAlreadyAccepted = status.Error(ErrBadRequest, "ENCRYPTION_ALREADY_ACCEPTED") // ErrMessageEditTimeExpired // | 400 | MESSAGE_EDIT_TIME_EXPIRED | You can't edit this message anymore, too much time has passed since its creation. | ErrMessageEditTimeExpired = status.Error(ErrBadRequest, "MESSAGE_EDIT_TIME_EXPIRED") // ErrPollAnswersInvalid // | 400 | POLL_ANSWERS_INVALID | Invalid poll answers were provided. | ErrPollAnswersInvalid = status.Error(ErrBadRequest, "POLL_ANSWERS_INVALID") // ErrReactionEmpty // | 400 | REACTION_EMPTY | Empty reaction provided. | ErrReactionEmpty = status.Error(ErrBadRequest, "REACTION_EMPTY") // ErrUrlInvalid // | 400 | URL_INVALID | Invalid URL provided. | ErrUrlInvalid = status.Error(ErrBadRequest, "URL_INVALID") // ErrAuthTokenInvalidx // | 400 | AUTH_TOKEN_INVALIDX | The specified auth token is invalid. | ErrAuthTokenInvalidx = status.Error(ErrBadRequest, "AUTH_TOKEN_INVALIDX") // ErrContactReqMissing // | 400 | CONTACT_REQ_MISSING | Missing contact request. | ErrContactReqMissing = status.Error(ErrBadRequest, "CONTACT_REQ_MISSING") // ErrDhGAInvalid // | 400 | DH_G_A_INVALID | g_a invalid. | ErrDhGAInvalid = status.Error(ErrBadRequest, "DH_G_A_INVALID") // ErrGifContentTypeInvalid // | 400 | GIF_CONTENT_TYPE_INVALID | GIF content-type invalid. | ErrGifContentTypeInvalid = status.Error(ErrBadRequest, "GIF_CONTENT_TYPE_INVALID") // ErrThemeInvalid // | 400 | THEME_INVALID | Invalid theme provided. | ErrThemeInvalid = status.Error(ErrBadRequest, "THEME_INVALID") // ErrApiIdPublishedFlood // | 400 | API_ID_PUBLISHED_FLOOD | This API id was published somewhere, you can't use it now. | ErrApiIdPublishedFlood = status.Error(ErrBadRequest, "API_ID_PUBLISHED_FLOOD") // ErrEncryptionIdInvalid // | 400 | ENCRYPTION_ID_INVALID | The provided secret chat ID is invalid. | ErrEncryptionIdInvalid = status.Error(ErrBadRequest, "ENCRYPTION_ID_INVALID") // ErrFilePartLengthInvalid // | 400 | FILE_PART_LENGTH_INVALID | The length of a file part is invalid. | ErrFilePartLengthInvalid = status.Error(ErrBadRequest, "FILE_PART_LENGTH_INVALID") // ErrPaymentProviderInvalid // | 400 | PAYMENT_PROVIDER_INVALID | The specified payment provider is invalid. | ErrPaymentProviderInvalid = status.Error(ErrBadRequest, "PAYMENT_PROVIDER_INVALID") // ErrPhotoSaveFileInvalid // | 400 | PHOTO_SAVE_FILE_INVALID | Internal issues, try again later. | ErrPhotoSaveFileInvalid = status.Error(ErrBadRequest, "PHOTO_SAVE_FILE_INVALID") // ErrVideoContentTypeInvalid // | 400 | VIDEO_CONTENT_TYPE_INVALID | The video's content type is invalid. | ErrVideoContentTypeInvalid = status.Error(ErrBadRequest, "VIDEO_CONTENT_TYPE_INVALID") // ErrPhoneNumberBanned // | 400 | PHONE_NUMBER_BANNED | The provided phone number is banned from telegram. | ErrPhoneNumberBanned = status.Error(ErrBadRequest, "PHONE_NUMBER_BANNED") // ErrInviteHashInvalid // | 400 | INVITE_HASH_INVALID | The invite hash is invalid. | ErrInviteHashInvalid = status.Error(ErrBadRequest, "INVITE_HASH_INVALID") // ErrBotInvalid // | 400 | BOT_INVALID | This is not a valid bot. | ErrBotInvalid = status.Error(ErrBadRequest, "BOT_INVALID") // ErrFromPeerInvalid // | 400 | FROM_PEER_INVALID | The specified from_id is invalid. | ErrFromPeerInvalid = status.Error(ErrBadRequest, "FROM_PEER_INVALID") // ErrStickerDocumentInvalid // | 400 | STICKER_DOCUMENT_INVALID | The specified sticker document is invalid. | ErrStickerDocumentInvalid = status.Error(ErrBadRequest, "STICKER_DOCUMENT_INVALID") // ErrCallAlreadyDeclined // | 400 | CALL_ALREADY_DECLINED | The call was already declined. | ErrCallAlreadyDeclined = status.Error(ErrBadRequest, "CALL_ALREADY_DECLINED") // ErrBannedRightsInvalid // | 400 | BANNED_RIGHTS_INVALID | You provided some invalid flags in the banned rights. | ErrBannedRightsInvalid = status.Error(ErrBadRequest, "BANNED_RIGHTS_INVALID") // ErrCurrencyTotalAmountInvalid // | 400 | CURRENCY_TOTAL_AMOUNT_INVALID | The total amount of all prices is invalid. | ErrCurrencyTotalAmountInvalid = status.Error(ErrBadRequest, "CURRENCY_TOTAL_AMOUNT_INVALID") // ErrQuizMultipleInvalid // | 400 | QUIZ_MULTIPLE_INVALID | Quizes can't have the multiple_choice flag set! | ErrQuizMultipleInvalid = status.Error(ErrBadRequest, "QUIZ_MULTIPLE_INVALID") // ErrErrorTextEmpty // | 400 | ERROR_TEXT_EMPTY | The provided error message is empty. | ErrErrorTextEmpty = status.Error(ErrBadRequest, "ERROR_TEXT_EMPTY") // ErrFilterTitleEmpty // | 400 | FILTER_TITLE_EMPTY | The title field of the filter is empty. | ErrFilterTitleEmpty = status.Error(ErrBadRequest, "FILTER_TITLE_EMPTY") // ErrTokenInvalid // | 400 | TOKEN_INVALID | The provided token is invalid. | ErrTokenInvalid = status.Error(ErrBadRequest, "TOKEN_INVALID") // ErrPhoneNumberFlood // | 400 | PHONE_NUMBER_FLOOD | You asked for the code too many times. | ErrPhoneNumberFlood = status.Error(ErrBadRequest, "PHONE_NUMBER_FLOOD") // ErrChannelsAdminLocatedTooMuch // | 400 | CHANNELS_ADMIN_LOCATED_TOO_MUCH | The user has reached the limit of public geogroups. | ErrChannelsAdminLocatedTooMuch = status.Error(ErrBadRequest, "CHANNELS_ADMIN_LOCATED_TOO_MUCH") // ErrPinRestricted // | 400 | PIN_RESTRICTED | You can't pin messages. | ErrPinRestricted = status.Error(ErrBadRequest, "PIN_RESTRICTED") // ErrExpireDateInvalid // | 400 | EXPIRE_DATE_INVALID | The specified expiration date is invalid. | ErrExpireDateInvalid = status.Error(ErrBadRequest, "EXPIRE_DATE_INVALID") // ErrWebpageMediaEmpty // | 400 | WEBPAGE_MEDIA_EMPTY | Webpage media empty. | ErrWebpageMediaEmpty = status.Error(ErrBadRequest, "WEBPAGE_MEDIA_EMPTY") // ErrStartParamTooLong // | 400 | START_PARAM_TOO_LONG | Start parameter is too long. | ErrStartParamTooLong = status.Error(ErrBadRequest, "START_PARAM_TOO_LONG") // ErrRsaDecryptFailed // | 400 | RSA_DECRYPT_FAILED | Internal RSA decryption failed. | ErrRsaDecryptFailed = status.Error(ErrBadRequest, "RSA_DECRYPT_FAILED") // ErrPrivacyTooLong // | 400 | PRIVACY_TOO_LONG | Too many privacy rules were specified, the current limit is 1000. | ErrPrivacyTooLong = status.Error(ErrBadRequest, "PRIVACY_TOO_LONG") // ErrUsernameNotModified // | 400 | USERNAME_NOT_MODIFIED | Username is not different from the current username. | ErrUsernameNotModified = status.Error(ErrBadRequest, "USERNAME_NOT_MODIFIED") // ErrMegagroupRequired // | 400 | MEGAGROUP_REQUIRED | You can only use this method on a supergroup. | ErrMegagroupRequired = status.Error(ErrBadRequest, "MEGAGROUP_REQUIRED") // ErrInviteHashExpired // | 400 | INVITE_HASH_EXPIRED | The invite link has expired. | ErrInviteHashExpired = status.Error(ErrBadRequest, "INVITE_HASH_EXPIRED") // ErrEncryptionAlreadyDeclined // | 400 | ENCRYPTION_ALREADY_DECLINED | The secret chat was already declined. | ErrEncryptionAlreadyDeclined = status.Error(ErrBadRequest, "ENCRYPTION_ALREADY_DECLINED") // ErrWcConvertUrlInvalid // | 400 | WC_CONVERT_URL_INVALID | WC convert URL invalid. | ErrWcConvertUrlInvalid = status.Error(ErrBadRequest, "WC_CONVERT_URL_INVALID") // ErrImportFormatUnrecognized // | 400 | IMPORT_FORMAT_UNRECOGNIZED | The specified chat export file was exported from an unsupported chat app. | ErrImportFormatUnrecognized = status.Error(ErrBadRequest, "IMPORT_FORMAT_UNRECOGNIZED") // ErrExternalUrlInvalid // | 400 | EXTERNAL_URL_INVALID | External URL invalid. | ErrExternalUrlInvalid = status.Error(ErrBadRequest, "EXTERNAL_URL_INVALID") // ErrWebpushAuthInvalid // | 400 | WEBPUSH_AUTH_INVALID | The specified web push authentication secret is invalid. | ErrWebpushAuthInvalid = status.Error(ErrBadRequest, "WEBPUSH_AUTH_INVALID") // ErrEmailInvalid // | 400 | EMAIL_INVALID | The specified email is invalid. | ErrEmailInvalid = status.Error(ErrBadRequest, "EMAIL_INVALID") // ErrChatNotModified // | 400 | CHAT_NOT_MODIFIED | The pinned message wasn't modified. | ErrChatNotModified = status.Error(ErrBadRequest, "CHAT_NOT_MODIFIED") // ErrDataJsonInvalid // | 400 | DATA_JSON_INVALID | The provided JSON data is invalid. | ErrDataJsonInvalid = status.Error(ErrBadRequest, "DATA_JSON_INVALID") // ErrStickerInvalid // | 400 | STICKER_INVALID | The provided sticker is invalid. | ErrStickerInvalid = status.Error(ErrBadRequest, "STICKER_INVALID") // ErrPhoneCodeInvalid // | 400 | PHONE_CODE_INVALID | Invalid SMS code was sent. | ErrPhoneCodeInvalid = status.Error(ErrBadRequest, "PHONE_CODE_INVALID") // ErrInputUserDeactivated // | 400 | INPUT_USER_DEACTIVATED | The specified user was deleted. | ErrInputUserDeactivated = status.Error(ErrBadRequest, "INPUT_USER_DEACTIVATED") // ErrPollOptionDuplicate // | 400 | POLL_OPTION_DUPLICATE | Duplicate poll options provided. | ErrPollOptionDuplicate = status.Error(ErrBadRequest, "POLL_OPTION_DUPLICATE") // ErrTtlPeriodInvalid // | 400 | TTL_PERIOD_INVALID | The specified TTL period is invalid. | ErrTtlPeriodInvalid = status.Error(ErrBadRequest, "TTL_PERIOD_INVALID") // ErrArticleTitleEmpty // | 400 | ARTICLE_TITLE_EMPTY | The title of the article is empty. | ErrArticleTitleEmpty = status.Error(ErrBadRequest, "ARTICLE_TITLE_EMPTY") // ErrPhotoContentTypeInvalid // | 400 | PHOTO_CONTENT_TYPE_INVALID | Photo mime-type invalid. | ErrPhotoContentTypeInvalid = status.Error(ErrBadRequest, "PHOTO_CONTENT_TYPE_INVALID") // ErrGraphExpiredReload // | 400 | GRAPH_EXPIRED_RELOAD | This graph has expired, please obtain a new graph token. | ErrGraphExpiredReload = status.Error(ErrBadRequest, "GRAPH_EXPIRED_RELOAD") // ErrAdminRankInvalid // | 400 | ADMIN_RANK_INVALID | The specified admin rank is invalid. | ErrAdminRankInvalid = status.Error(ErrBadRequest, "ADMIN_RANK_INVALID") // ErrConnectionLayerInvalid // | 400 | CONNECTION_LAYER_INVALID | Layer invalid. | ErrConnectionLayerInvalid = status.Error(ErrBadRequest, "CONNECTION_LAYER_INVALID") // ErrMediaGroupedInvalid // | 400 | MEDIA_GROUPED_INVALID | You tried to send media of different types in an album. | ErrMediaGroupedInvalid = status.Error(ErrBadRequest, "MEDIA_GROUPED_INVALID") // ErrUserIsBot // | 400 | USER_IS_BOT | Bots can't send messages to other bots. | ErrUserIsBot = status.Error(ErrBadRequest, "USER_IS_BOT") // ErrBotMissing // | 400 | BOT_MISSING | This method can only be run by a bot. | ErrBotMissing = status.Error(ErrBadRequest, "BOT_MISSING") // ErrMaxIdInvalid // | 400 | MAX_ID_INVALID | The provided max ID is invalid. | ErrMaxIdInvalid = status.Error(ErrBadRequest, "MAX_ID_INVALID") // ErrBroadcastRequired // | 400 | BROADCAST_REQUIRED | This method can only be called on a channel, please use stats.getMegagroupStats for supergroups. | ErrBroadcastRequired = status.Error(ErrBadRequest, "BROADCAST_REQUIRED") // ErrEncryptedMessageInvalid // | 400 | ENCRYPTED_MESSAGE_INVALID | Encrypted message is incorrect. | ErrEncryptedMessageInvalid = status.Error(ErrBadRequest, "ENCRYPTED_MESSAGE_INVALID") // ErrSmsCodeCreateFailed // | 400 | SMS_CODE_CREATE_FAILED | An error occurred while creating the SMS code. | ErrSmsCodeCreateFailed = status.Error(ErrBadRequest, "SMS_CODE_CREATE_FAILED") // ErrStickerIdInvalid // | 400 | STICKER_ID_INVALID | The provided sticker ID is invalid. | ErrStickerIdInvalid = status.Error(ErrBadRequest, "STICKER_ID_INVALID") // ErrChatRestricted // | 400 | CHAT_RESTRICTED | You can't send messages in this chat, you were restricted. | ErrChatRestricted = status.Error(ErrBadRequest, "CHAT_RESTRICTED") // ErrAccessTokenExpired // | 400 | ACCESS_TOKEN_EXPIRED | Bot token expired. | ErrAccessTokenExpired = status.Error(ErrBadRequest, "ACCESS_TOKEN_EXPIRED") // ErrEmailUnconfirmedX // | 400 | EMAIL_UNCONFIRMED_X | The provided email isn't confirmed, X is the length of the verification code that was just sent to the email: use account.verifyEmail to enter the received verification code and enable the recovery email. | ErrEmailUnconfirmedX = status.Error(ErrBadRequest, "EMAIL_UNCONFIRMED_X") // ErrConnectionNotInited // | 400 | CONNECTION_NOT_INITED | Connection not initialized. | ErrConnectionNotInited = status.Error(ErrBadRequest, "CONNECTION_NOT_INITED") // ErrRangesInvalid // | 400 | RANGES_INVALID | Invalid range provided. | ErrRangesInvalid = status.Error(ErrBadRequest, "RANGES_INVALID") // ErrChatLinkExists // | 400 | CHAT_LINK_EXISTS | The chat is public, you can't hide the history to new users. | ErrChatLinkExists = status.Error(ErrBadRequest, "CHAT_LINK_EXISTS") // ErrChatAboutNotModified // | 400 | CHAT_ABOUT_NOT_MODIFIED | About text has not changed. | ErrChatAboutNotModified = status.Error(ErrBadRequest, "CHAT_ABOUT_NOT_MODIFIED") // ErrScheduleDateTooLate // | 400 | SCHEDULE_DATE_TOO_LATE | You can't schedule a message this far in the future. | ErrScheduleDateTooLate = status.Error(ErrBadRequest, "SCHEDULE_DATE_TOO_LATE") // ErrWebdocumentUrlInvalid // | 400 | WEBDOCUMENT_URL_INVALID | The specified webdocument URL is invalid. | ErrWebdocumentUrlInvalid = status.Error(ErrBadRequest, "WEBDOCUMENT_URL_INVALID") // ErrWebpushKeyInvalid // | 400 | WEBPUSH_KEY_INVALID | The specified web push elliptic curve Diffie-Hellman public key is invalid. | ErrWebpushKeyInvalid = status.Error(ErrBadRequest, "WEBPUSH_KEY_INVALID") // ErrPhoneCodeExpired // | 400 | PHONE_CODE_EXPIRED | The phone code you provided has expired, this may happen if it was sent to any chat on telegram (if the code is sent through a telegram chat (not the official account) to avoid it append or prepend to the code some chars). | ErrPhoneCodeExpired = status.Error(ErrBadRequest, "PHONE_CODE_EXPIRED") // ErrCodeEmpty // | 400 | CODE_EMPTY | The provided code is empty. | ErrCodeEmpty = status.Error(ErrBadRequest, "CODE_EMPTY") // ErrUserNotMutualContact // | 400 | USER_NOT_MUTUAL_CONTACT | The provided user is not a mutual contact. | ErrUserNotMutualContact = status.Error(ErrBadRequest, "USER_NOT_MUTUAL_CONTACT") // ErrShortNameOccupied // | 400 | SHORT_NAME_OCCUPIED | The specified short name is already in use. | ErrShortNameOccupied = status.Error(ErrBadRequest, "SHORT_NAME_OCCUPIED") // ErrAuthTokenAlreadyAccepted // | 400 | AUTH_TOKEN_ALREADY_ACCEPTED | The specified auth token was already accepted. | ErrAuthTokenAlreadyAccepted = status.Error(ErrBadRequest, "AUTH_TOKEN_ALREADY_ACCEPTED") // ErrBotsTooMuch // | 400 | BOTS_TOO_MUCH | There are too many bots in this chat/channel. | ErrBotsTooMuch = status.Error(ErrBadRequest, "BOTS_TOO_MUCH") // ErrContactIdInvalid // | 400 | CONTACT_ID_INVALID | The provided contact ID is invalid. | ErrContactIdInvalid = status.Error(ErrBadRequest, "CONTACT_ID_INVALID") // ErrPollAnswerInvalid // | 400 | POLL_ANSWER_INVALID | One of the poll answers is not acceptable. | ErrPollAnswerInvalid = status.Error(ErrBadRequest, "POLL_ANSWER_INVALID") // ErrPhoneCodeEmpty // | 400 | PHONE_CODE_EMPTY | phone_code is missing. | ErrPhoneCodeEmpty = status.Error(ErrBadRequest, "PHONE_CODE_EMPTY") // ErrAutoarchiveNotAvailable // | 400 | AUTOARCHIVE_NOT_AVAILABLE | The autoarchive setting is not available at this time: please check the value of the autoarchive_setting_available field in client config » before calling this method. | ErrAutoarchiveNotAvailable = status.Error(ErrBadRequest, "AUTOARCHIVE_NOT_AVAILABLE") // ErrAboutTooLong // | 400 | ABOUT_TOO_LONG | About string too long. | ErrAboutTooLong = status.Error(ErrBadRequest, "ABOUT_TOO_LONG") // ErrAudioTitleEmpty // | 400 | AUDIO_TITLE_EMPTY | An empty audio title was provided. | ErrAudioTitleEmpty = status.Error(ErrBadRequest, "AUDIO_TITLE_EMPTY") // ErrFilterIncludeEmpty // | 400 | FILTER_INCLUDE_EMPTY | The include_peers vector of the filter is empty. | ErrFilterIncludeEmpty = status.Error(ErrBadRequest, "FILTER_INCLUDE_EMPTY") // ErrStickerThumbTgsNotgs // | 400 | STICKER_THUMB_TGS_NOTGS | Incorrect stickerset TGS thumb file provided. | ErrStickerThumbTgsNotgs = status.Error(ErrBadRequest, "STICKER_THUMB_TGS_NOTGS") // ErrMessageEmpty // | 400 | MESSAGE_EMPTY | The provided message is empty | ErrMessageEmpty = status.Error(ErrBadRequest, "MESSAGE_EMPTY") // ErrMessageIdsEmpty // | 400 | MESSAGE_IDS_EMPTY | No message ids were provided. | ErrMessageIdsEmpty = status.Error(ErrBadRequest, "MESSAGE_IDS_EMPTY") // ErrMd5ChecksumInvalid // | 400 | MD5_CHECKSUM_INVALID | The MD5 checksums do not match. | ErrMd5ChecksumInvalid = status.Error(ErrBadRequest, "MD5_CHECKSUM_INVALID") // ErrUserBotInvalid // | 400 | USER_BOT_INVALID | This method can only be called by a bot. | ErrUserBotInvalid = status.Error(ErrBadRequest, "USER_BOT_INVALID") // ErrPhotoCropSizeSmall // | 400 | PHOTO_CROP_SIZE_SMALL | Photo is too small. | ErrPhotoCropSizeSmall = status.Error(ErrBadRequest, "PHOTO_CROP_SIZE_SMALL") // ErrUsageLimitInvalid // | 400 | USAGE_LIMIT_INVALID | The specified usage limit is invalid. | ErrUsageLimitInvalid = status.Error(ErrBadRequest, "USAGE_LIMIT_INVALID") // ErrWebdocumentMimeInvalid // | 400 | WEBDOCUMENT_MIME_INVALID | Invalid webdocument mime type provided. | ErrWebdocumentMimeInvalid = status.Error(ErrBadRequest, "WEBDOCUMENT_MIME_INVALID") // ErrScheduleStatusPrivate // | 400 | SCHEDULE_STATUS_PRIVATE | Can't schedule until user is online, if the user's last seen timestamp is hidden by their privacy settings. | ErrScheduleStatusPrivate = status.Error(ErrBadRequest, "SCHEDULE_STATUS_PRIVATE") // ErrUsersTooMuch // | 400 | USERS_TOO_MUCH | The maximum number of users has been exceeded (to create a chat, for example). | ErrUsersTooMuch = status.Error(ErrBadRequest, "USERS_TOO_MUCH") // ErrPinnedDialogsTooMuch // | 400 | PINNED_DIALOGS_TOO_MUCH | Too many pinned dialogs. | ErrPinnedDialogsTooMuch = status.Error(ErrBadRequest, "PINNED_DIALOGS_TOO_MUCH") // ErrButtonTypeInvalid // | 400 | BUTTON_TYPE_INVALID | The type of one or more of the buttons you provided is invalid. | ErrButtonTypeInvalid = status.Error(ErrBadRequest, "BUTTON_TYPE_INVALID") // ErrStickerFileInvalid // | 400 | STICKER_FILE_INVALID | Sticker file invalid. | ErrStickerFileInvalid = status.Error(ErrBadRequest, "STICKER_FILE_INVALID") // ErrOffsetInvalid // | 400 | OFFSET_INVALID | The provided offset is invalid. | ErrOffsetInvalid = status.Error(ErrBadRequest, "OFFSET_INVALID") // ErrSearchQueryEmpty // | 400 | SEARCH_QUERY_EMPTY | The search query is empty. | ErrSearchQueryEmpty = status.Error(ErrBadRequest, "SEARCH_QUERY_EMPTY") // ErrPhotoThumbUrlEmpty // | 400 | PHOTO_THUMB_URL_EMPTY | Photo thumbnail URL is empty. | ErrPhotoThumbUrlEmpty = status.Error(ErrBadRequest, "PHOTO_THUMB_URL_EMPTY") // ErrBankCardNumberInvalid // | 400 | BANK_CARD_NUMBER_INVALID | The specified card number is invalid. | ErrBankCardNumberInvalid = status.Error(ErrBadRequest, "BANK_CARD_NUMBER_INVALID") // ErrShortnameOccupyFailed // | 400 | SHORTNAME_OCCUPY_FAILED | An internal error occurred. | ErrShortnameOccupyFailed = status.Error(ErrBadRequest, "SHORTNAME_OCCUPY_FAILED") // ErrPersistentTimestampInvalid // | 400 | PERSISTENT_TIMESTAMP_INVALID | Persistent timestamp invalid. | ErrPersistentTimestampInvalid = status.Error(ErrBadRequest, "PERSISTENT_TIMESTAMP_INVALID") // ErrBotCommandDescriptionInvalid // | 400 | BOT_COMMAND_DESCRIPTION_INVALID | The specified command description is invalid. | ErrBotCommandDescriptionInvalid = status.Error(ErrBadRequest, "BOT_COMMAND_DESCRIPTION_INVALID") // ErrRandomIdEmpty // | 400 | RANDOM_ID_EMPTY | Random ID empty. | ErrRandomIdEmpty = status.Error(ErrBadRequest, "RANDOM_ID_EMPTY") // ErrMessagePollClosed // | 400 | MESSAGE_POLL_CLOSED | Poll closed. | ErrMessagePollClosed = status.Error(ErrBadRequest, "MESSAGE_POLL_CLOSED") // ErrPhotoContentUrlEmpty // | 400 | PHOTO_CONTENT_URL_EMPTY | Photo URL invalid. | ErrPhotoContentUrlEmpty = status.Error(ErrBadRequest, "PHOTO_CONTENT_URL_EMPTY") // ErrShortNameInvalid // | 400 | SHORT_NAME_INVALID | The specified short name is invalid. | ErrShortNameInvalid = status.Error(ErrBadRequest, "SHORT_NAME_INVALID") // ErrPackTitleInvalid // | 400 | PACK_TITLE_INVALID | The stickerpack title is invalid. | ErrPackTitleInvalid = status.Error(ErrBadRequest, "PACK_TITLE_INVALID") // ErrFilePartSizeChanged // | 400 | FILE_PART_SIZE_CHANGED | Provided file part size has changed. | ErrFilePartSizeChanged = status.Error(ErrBadRequest, "FILE_PART_SIZE_CHANGED") // ErrMediaNewInvalid // | 400 | MEDIA_NEW_INVALID | The new media is invalid. | ErrMediaNewInvalid = status.Error(ErrBadRequest, "MEDIA_NEW_INVALID") // ErrWebpageCurlFailed // | 400 | WEBPAGE_CURL_FAILED | Failure while fetching the webpage with cURL. | ErrWebpageCurlFailed = status.Error(ErrBadRequest, "WEBPAGE_CURL_FAILED") // ErrResultIdDuplicate // | 400 | RESULT_ID_DUPLICATE | You provided a duplicate result ID. | ErrResultIdDuplicate = status.Error(ErrBadRequest, "RESULT_ID_DUPLICATE") // ErrLocationInvalid // | 400 | LOCATION_INVALID | The provided location is invalid. | ErrLocationInvalid = status.Error(ErrBadRequest, "LOCATION_INVALID") // ErrOffsetPeerIdInvalid // | 400 | OFFSET_PEER_ID_INVALID | The provided offset peer is invalid. | ErrOffsetPeerIdInvalid = status.Error(ErrBadRequest, "OFFSET_PEER_ID_INVALID") // ErrPhotoCropFileMissing // | 400 | PHOTO_CROP_FILE_MISSING | Photo crop file missing. | ErrPhotoCropFileMissing = status.Error(ErrBadRequest, "PHOTO_CROP_FILE_MISSING") // ErrStickerEmojiInvalid // | 400 | STICKER_EMOJI_INVALID | Sticker emoji invalid. | ErrStickerEmojiInvalid = status.Error(ErrBadRequest, "STICKER_EMOJI_INVALID") // ErrFirstnameInvalid // | 400 | FIRSTNAME_INVALID | The first name is invalid. | ErrFirstnameInvalid = status.Error(ErrBadRequest, "FIRSTNAME_INVALID") // ErrDcIdInvalid // | 400 | DC_ID_INVALID | The provided DC ID is invalid. | ErrDcIdInvalid = status.Error(ErrBadRequest, "DC_ID_INVALID") // ErrChannelsAdminPublicTooMuch // | 400 | CHANNELS_ADMIN_PUBLIC_TOO_MUCH | You're admin of too many public channels, make some channels private to change the username of this channel. | ErrChannelsAdminPublicTooMuch = status.Error(ErrBadRequest, "CHANNELS_ADMIN_PUBLIC_TOO_MUCH") // ErrSendMessageTypeInvalid // | 400 | SEND_MESSAGE_TYPE_INVALID | The message type is invalid. | ErrSendMessageTypeInvalid = status.Error(ErrBadRequest, "SEND_MESSAGE_TYPE_INVALID") // ErrLangPackInvalid // | 400 | LANG_PACK_INVALID | The provided language pack is invalid. | ErrLangPackInvalid = status.Error(ErrBadRequest, "LANG_PACK_INVALID") // ErrFileContentTypeInvalid // | 400 | FILE_CONTENT_TYPE_INVALID | File content-type is invalid. | ErrFileContentTypeInvalid = status.Error(ErrBadRequest, "FILE_CONTENT_TYPE_INVALID") // ErrAlbumPhotosTooMany // | 400 | ALBUM_PHOTOS_TOO_MANY | Too many. | ErrAlbumPhotosTooMany = status.Error(ErrBadRequest, "ALBUM_PHOTOS_TOO_MANY") // ErrEmailHashExpired // | 400 | EMAIL_HASH_EXPIRED | Email hash expired. | ErrEmailHashExpired = status.Error(ErrBadRequest, "EMAIL_HASH_EXPIRED") // ErrAdminRankEmojiNotAllowed // | 400 | ADMIN_RANK_EMOJI_NOT_ALLOWED | An admin rank cannot contain emojis. | ErrAdminRankEmojiNotAllowed = status.Error(ErrBadRequest, "ADMIN_RANK_EMOJI_NOT_ALLOWED") // ErrParticipantVersionOutdated // | 400 | PARTICIPANT_VERSION_OUTDATED | The other participant does not use an up to date telegram client with support for calls. | ErrParticipantVersionOutdated = status.Error(ErrBadRequest, "PARTICIPANT_VERSION_OUTDATED") // ErrStickerPngNopng // | 400 | STICKER_PNG_NOPNG | One of the specified stickers is not a valid PNG file. | ErrStickerPngNopng = status.Error(ErrBadRequest, "STICKER_PNG_NOPNG") // ErrChannelInvalid // | 400 | CHANNEL_INVALID | The provided channel is invalid. | ErrChannelInvalid = status.Error(ErrBadRequest, "CHANNEL_INVALID") // ErrUsersTooFew // | 400 | USERS_TOO_FEW | Not enough users (to create a chat, for example). | ErrUsersTooFew = status.Error(ErrBadRequest, "USERS_TOO_FEW") // ErrRandomIdInvalid // | 400 | RANDOM_ID_INVALID | A provided random ID is invalid. | ErrRandomIdInvalid = status.Error(ErrBadRequest, "RANDOM_ID_INVALID") // ErrEmojiNotModified // | 400 | EMOJI_NOT_MODIFIED | The theme wasn't changed. | ErrEmojiNotModified = status.Error(ErrBadRequest, "EMOJI_NOT_MODIFIED") // ErrOptionInvalid // | 400 | OPTION_INVALID | Invalid option selected. | ErrOptionInvalid = status.Error(ErrBadRequest, "OPTION_INVALID") // ErrPhonePasswordProtected // | 400 | PHONE_PASSWORD_PROTECTED | This phone is password protected. | ErrPhonePasswordProtected = status.Error(ErrBadRequest, "PHONE_PASSWORD_PROTECTED") // ErrMessageIdInvalid // | 400 | MESSAGE_ID_INVALID | The provided message id is invalid. | ErrMessageIdInvalid = status.Error(ErrBadRequest, "MESSAGE_ID_INVALID") // ErrMaxQtsInvalid // | 400 | MAX_QTS_INVALID | The specified max_qts is invalid. | ErrMaxQtsInvalid = status.Error(ErrBadRequest, "MAX_QTS_INVALID") // ErrButtonDataInvalid // | 400 | BUTTON_DATA_INVALID | The data of one or more of the buttons you provided is invalid. | ErrButtonDataInvalid = status.Error(ErrBadRequest, "BUTTON_DATA_INVALID") // ErrEmoticonEmpty // | 400 | EMOTICON_EMPTY | The emoji is empty. | ErrEmoticonEmpty = status.Error(ErrBadRequest, "EMOTICON_EMPTY") // ErrMultiMediaTooLong // | 400 | MULTI_MEDIA_TOO_LONG | Too many media files for album. | ErrMultiMediaTooLong = status.Error(ErrBadRequest, "MULTI_MEDIA_TOO_LONG") // ErrStartParamEmpty // | 400 | START_PARAM_EMPTY | The start parameter is empty. | ErrStartParamEmpty = status.Error(ErrBadRequest, "START_PARAM_EMPTY") // ErrSettingsInvalid // | 400 | SETTINGS_INVALID | Invalid settings were provided. | ErrSettingsInvalid = status.Error(ErrBadRequest, "SETTINGS_INVALID") // ErrUserAlreadyParticipant // | 400 | USER_ALREADY_PARTICIPANT | The user is already in the group. | ErrUserAlreadyParticipant = status.Error(ErrBadRequest, "USER_ALREADY_PARTICIPANT") // ErrContactAddMissing // | 400 | CONTACT_ADD_MISSING | Contact to add is missing. | ErrContactAddMissing = status.Error(ErrBadRequest, "CONTACT_ADD_MISSING") // ErrQueryTooShort // | 400 | QUERY_TOO_SHORT | The query string is too short. | ErrQueryTooShort = status.Error(ErrBadRequest, "QUERY_TOO_SHORT") // ErrAuthTokenInvalid // | 400 | AUTH_TOKEN_INVALID | The specified auth token is invalid. | ErrAuthTokenInvalid = status.Error(ErrBadRequest, "AUTH_TOKEN_INVALID") // ErrUserInvalid // | 400 | USER_INVALID | Invalid user provided. | ErrUserInvalid = status.Error(ErrBadRequest, "USER_INVALID") // ErrCallPeerInvalid // | 400 | CALL_PEER_INVALID | The provided call peer object is invalid. | ErrCallPeerInvalid = status.Error(ErrBadRequest, "CALL_PEER_INVALID") // ErrStickersetInvalid // | 400 | STICKERSET_INVALID | The provided sticker set is invalid. | ErrStickersetInvalid = status.Error(ErrBadRequest, "STICKERSET_INVALID") // ErrBotPollsDisabled // | 400 | BOT_POLLS_DISABLED | | ErrBotPollsDisabled = status.Error(ErrBadRequest, "BOT_POLLS_DISABLED") // ErrEmoticonInvalid // | 400 | EMOTICON_INVALID | The specified emoji is invalid. | ErrEmoticonInvalid = status.Error(ErrBadRequest, "EMOTICON_INVALID") // ErrImageProcessFailed // | 400 | IMAGE_PROCESS_FAILED | Failure while processing image. | ErrImageProcessFailed = status.Error(ErrBadRequest, "IMAGE_PROCESS_FAILED") // ErrGameBotInvalid // | 400 | GAME_BOT_INVALID | Bots can't send another bot's game. | ErrGameBotInvalid = status.Error(ErrBadRequest, "GAME_BOT_INVALID") // ErrPollOptionInvalid // | 400 | POLL_OPTION_INVALID | Invalid poll option provided. | ErrPollOptionInvalid = status.Error(ErrBadRequest, "POLL_OPTION_INVALID") // ErrVideoFileInvalid // | 400 | VIDEO_FILE_INVALID | The specified video file is invalid. | ErrVideoFileInvalid = status.Error(ErrBadRequest, "VIDEO_FILE_INVALID") // ErrPasswordTooFreshX // | 400 | PASSWORD_TOO_FRESH_X | The password was modified less than 24 hours ago, try again in X seconds. | ErrPasswordTooFreshX = status.Error(ErrBadRequest, "PASSWORD_TOO_FRESH_X") // ErrTypesEmpty // | 400 | TYPES_EMPTY | No top peer type was provided. | ErrTypesEmpty = status.Error(ErrBadRequest, "TYPES_EMPTY") // ErrButtonUrlInvalid // | 400 | BUTTON_URL_INVALID | Button URL invalid. | ErrButtonUrlInvalid = status.Error(ErrBadRequest, "BUTTON_URL_INVALID") // ErrPhotoInvalidDimensions // | 400 | PHOTO_INVALID_DIMENSIONS | The photo dimensions are invalid. | ErrPhotoInvalidDimensions = status.Error(ErrBadRequest, "PHOTO_INVALID_DIMENSIONS") // ErrReplyMarkupTooLong // | 400 | REPLY_MARKUP_TOO_LONG | The specified reply_markup is too long. | ErrReplyMarkupTooLong = status.Error(ErrBadRequest, "REPLY_MARKUP_TOO_LONG") // ErrGraphOutdatedReload // | 400 | GRAPH_OUTDATED_RELOAD | The graph is outdated, please get a new async token using stats.getBroadcastStats. | ErrGraphOutdatedReload = status.Error(ErrBadRequest, "GRAPH_OUTDATED_RELOAD") // ErrPhoneCodeHashEmpty // | 400 | PHONE_CODE_HASH_EMPTY | phone_code_hash is missing. | ErrPhoneCodeHashEmpty = status.Error(ErrBadRequest, "PHONE_CODE_HASH_EMPTY") // ErrChatTitleEmpty // | 400 | CHAT_TITLE_EMPTY | No chat title provided. | ErrChatTitleEmpty = status.Error(ErrBadRequest, "CHAT_TITLE_EMPTY") // ErrMegagroupPrehistoryHidden // | 400 | MEGAGROUP_PREHISTORY_HIDDEN | Group with hidden history for new members can't be set as discussion groups. | ErrMegagroupPrehistoryHidden = status.Error(ErrBadRequest, "MEGAGROUP_PREHISTORY_HIDDEN") // ErrContactNameEmpty // | 400 | CONTACT_NAME_EMPTY | Contact name empty. | ErrContactNameEmpty = status.Error(ErrBadRequest, "CONTACT_NAME_EMPTY") // ErrGroupedMediaInvalid // | 400 | GROUPED_MEDIA_INVALID | Invalid grouped media. | ErrGroupedMediaInvalid = status.Error(ErrBadRequest, "GROUPED_MEDIA_INVALID") // ErrRandomLengthInvalid // | 400 | RANDOM_LENGTH_INVALID | Random length invalid. | ErrRandomLengthInvalid = status.Error(ErrBadRequest, "RANDOM_LENGTH_INVALID") // ErrBotPaymentsDisabled // | 400 | BOT_PAYMENTS_DISABLED | Please enable bot payments in botfather before calling this method. | ErrBotPaymentsDisabled = status.Error(ErrBadRequest, "BOT_PAYMENTS_DISABLED") // ErrResultsTooMuch // | 400 | RESULTS_TOO_MUCH | Too many results were provided. | ErrResultsTooMuch = status.Error(ErrBadRequest, "RESULTS_TOO_MUCH") // ErrAuthBytesInvalid // | 400 | AUTH_BYTES_INVALID | The provided authorization is invalid. | ErrAuthBytesInvalid = status.Error(ErrBadRequest, "AUTH_BYTES_INVALID") // ErrPhoneNumberUnoccupied // | 400 | PHONE_NUMBER_UNOCCUPIED | The code is valid but no user with the given number is registered. | ErrPhoneNumberUnoccupied = status.Error(ErrBadRequest, "PHONE_NUMBER_UNOCCUPIED") // ErrUserBannedInChannel // | 400 | USER_BANNED_IN_CHANNEL | You're banned from sending messages in supergroups/channels. | ErrUserBannedInChannel = status.Error(ErrBadRequest, "USER_BANNED_IN_CHANNEL") // ErrGroupcallSsrcDuplicateMuch // | 400 | GROUPCALL_SSRC_DUPLICATE_MUCH | The app needs to retry joining the group call with a new SSRC value. | ErrGroupcallSsrcDuplicateMuch = status.Error(ErrBadRequest, "GROUPCALL_SSRC_DUPLICATE_MUCH") // ErrQueryIdInvalid // | 400 | QUERY_ID_INVALID | The query ID is invalid. | ErrQueryIdInvalid = status.Error(ErrBadRequest, "QUERY_ID_INVALID") // ErrParticipantIdInvalid // | 400 | PARTICIPANT_ID_INVALID | The specified participant ID is invalid. | ErrParticipantIdInvalid = status.Error(ErrBadRequest, "PARTICIPANT_ID_INVALID") // ErrEncryptionDeclined // | 400 | ENCRYPTION_DECLINED | The secret chat was declined. | ErrEncryptionDeclined = status.Error(ErrBadRequest, "ENCRYPTION_DECLINED") // ErrQuizCorrectAnswersEmpty // | 400 | QUIZ_CORRECT_ANSWERS_EMPTY | No correct quiz answer was specified. | ErrQuizCorrectAnswersEmpty = status.Error(ErrBadRequest, "QUIZ_CORRECT_ANSWERS_EMPTY") // ErrDocumentInvalid // | 400 | DOCUMENT_INVALID | The specified document is invalid. | ErrDocumentInvalid = status.Error(ErrBadRequest, "DOCUMENT_INVALID") // ErrMegagroupIdInvalid // | 400 | MEGAGROUP_ID_INVALID | Invalid supergroup ID. | ErrMegagroupIdInvalid = status.Error(ErrBadRequest, "MEGAGROUP_ID_INVALID") // ErrFolderIdInvalid // | 400 | FOLDER_ID_INVALID | Invalid folder ID. | ErrFolderIdInvalid = status.Error(ErrBadRequest, "FOLDER_ID_INVALID") // ErrMessageNotModified // | 400 | MESSAGE_NOT_MODIFIED | The message text has not changed. | ErrMessageNotModified = status.Error(ErrBadRequest, "MESSAGE_NOT_MODIFIED") // ErrScheduleDateInvalid // | 400 | SCHEDULE_DATE_INVALID | Invalid schedule date provided. | ErrScheduleDateInvalid = status.Error(ErrBadRequest, "SCHEDULE_DATE_INVALID") // ErrSecondsInvalid // | 400 | SECONDS_INVALID | Invalid duration provided. | ErrSecondsInvalid = status.Error(ErrBadRequest, "SECONDS_INVALID") // ErrCdnMethodInvalid // | 400 | CDN_METHOD_INVALID | You can't call this method in a CDN DC. | ErrCdnMethodInvalid = status.Error(ErrBadRequest, "CDN_METHOD_INVALID") // ErrChatTooBig // | 400 | CHAT_TOO_BIG | This method is not available for groups with more than chat_read_mark_size_threshold members, see client configuration ». | ErrChatTooBig = status.Error(ErrBadRequest, "CHAT_TOO_BIG") // ErrCodeInvalid // | 400 | CODE_INVALID | Code invalid. | ErrCodeInvalid = status.Error(ErrBadRequest, "CODE_INVALID") // ErrTtlDaysInvalid // | 400 | TTL_DAYS_INVALID | The provided TTL is invalid. | ErrTtlDaysInvalid = status.Error(ErrBadRequest, "TTL_DAYS_INVALID") // ErrChannelTooLarge // | 400 | CHANNEL_TOO_LARGE | Channel is too large to be deleted; this error is issued when trying to delete channels with more than 1000 members (subject to change). | ErrChannelTooLarge = status.Error(ErrBadRequest, "CHANNEL_TOO_LARGE") // ErrUserCreator // | 400 | USER_CREATOR | You can't leave this channel, because you're its creator. | ErrUserCreator = status.Error(ErrBadRequest, "USER_CREATOR") // ErrFilePartEmpty // | 400 | FILE_PART_EMPTY | The provided file part is empty. | ErrFilePartEmpty = status.Error(ErrBadRequest, "FILE_PART_EMPTY") // ErrFileTitleEmpty // | 400 | FILE_TITLE_EMPTY | An empty file title was specified. | ErrFileTitleEmpty = status.Error(ErrBadRequest, "FILE_TITLE_EMPTY") // ErrWebdocumentSizeTooBig // | 400 | WEBDOCUMENT_SIZE_TOO_BIG | Webdocument is too big! | ErrWebdocumentSizeTooBig = status.Error(ErrBadRequest, "WEBDOCUMENT_SIZE_TOO_BIG") // ErrStickerTgsNotgs // | 400 | STICKER_TGS_NOTGS | Invalid TGS sticker provided. | ErrStickerTgsNotgs = status.Error(ErrBadRequest, "STICKER_TGS_NOTGS") // ErrLastnameInvalid // | 400 | LASTNAME_INVALID | Invalid last name. | ErrLastnameInvalid = status.Error(ErrBadRequest, "LASTNAME_INVALID") // ErrBotGroupsBlocked // | 400 | BOT_GROUPS_BLOCKED | This bot can't be added to groups. | ErrBotGroupsBlocked = status.Error(ErrBadRequest, "BOT_GROUPS_BLOCKED") // ErrScheduleBotNotAllowed // | 400 | SCHEDULE_BOT_NOT_ALLOWED | Bots cannot schedule messages. | ErrScheduleBotNotAllowed = status.Error(ErrBadRequest, "SCHEDULE_BOT_NOT_ALLOWED") // ErrPackShortNameInvalid // | 400 | PACK_SHORT_NAME_INVALID | Short pack name invalid. | ErrPackShortNameInvalid = status.Error(ErrBadRequest, "PACK_SHORT_NAME_INVALID") // ErrChannelPrivate // | 400 | CHANNEL_PRIVATE | You haven't joined this channel/supergroup. | ErrChannelPrivate = status.Error(ErrBadRequest, "CHANNEL_PRIVATE") // ErrInviteHashEmpty // | 400 | INVITE_HASH_EMPTY | The invite hash is empty. | ErrInviteHashEmpty = status.Error(ErrBadRequest, "INVITE_HASH_EMPTY") // ErrMediaInvalid // | 400 | MEDIA_INVALID | Media invalid. | ErrMediaInvalid = status.Error(ErrBadRequest, "MEDIA_INVALID") // ErrReplyMarkupBuyEmpty // | 400 | REPLY_MARKUP_BUY_EMPTY | Reply markup for buy button empty. | ErrReplyMarkupBuyEmpty = status.Error(ErrBadRequest, "REPLY_MARKUP_BUY_EMPTY") // ErrImportIdInvalid // | 400 | IMPORT_ID_INVALID | The specified import ID is invalid. | ErrImportIdInvalid = status.Error(ErrBadRequest, "IMPORT_ID_INVALID") // ErrPhotoFileMissing // | 400 | PHOTO_FILE_MISSING | Profile photo file missing. | ErrPhotoFileMissing = status.Error(ErrBadRequest, "PHOTO_FILE_MISSING") // ErrStickerThumbPngNopng // | 400 | STICKER_THUMB_PNG_NOPNG | Incorrect stickerset thumb file provided, PNG / WEBP expected. | ErrStickerThumbPngNopng = status.Error(ErrBadRequest, "STICKER_THUMB_PNG_NOPNG") // ErrUsernameInvalid // | 400 | USERNAME_INVALID | Unacceptable username. | ErrUsernameInvalid = status.Error(ErrBadRequest, "USERNAME_INVALID") // ErrTempAuthKeyEmpty // | 400 | TEMP_AUTH_KEY_EMPTY | The request was not performed with a temporary authorization key. | ErrTempAuthKeyEmpty = status.Error(ErrBadRequest, "TEMP_AUTH_KEY_EMPTY") // ErrLangCodeInvalid // | 400 | LANG_CODE_INVALID | The specified language code is invalid. | ErrLangCodeInvalid = status.Error(ErrBadRequest, "LANG_CODE_INVALID") // ErrQuizCorrectAnswerInvalid // | 400 | QUIZ_CORRECT_ANSWER_INVALID | An invalid value was provided to the correct_answers field. | ErrQuizCorrectAnswerInvalid = status.Error(ErrBadRequest, "QUIZ_CORRECT_ANSWER_INVALID") // ErrInputRequestInvalid // INPUT_REQUEST_INVALID: The method not impl ErrInputRequestInvalid = status.Error(ErrBadRequest, "INPUT_REQUEST_INVALID") // ErrMethodNotImpl // @benqi Add By NebulaChat, not impl the method // METHOD_NOT_IMPL: The method not impl ErrMethodNotImpl = status.Error(ErrBadRequest, "METHOD_NOT_IMPL") // ErrTypeConstructorInvalid // TYPE_CONSTRUCTOR_INVALID: The type constructor is invalid ErrTypeConstructorInvalid = status.Error(ErrBadRequest, "TYPE_CONSTRUCTOR_INVALID") // ErrBotMethodInvalid // | 400 | BOT_METHOD_INVALID | This method can't be used by a bot | ErrBotMethodInvalid = status.Error(ErrBadRequest, "BOT_METHOD_INVALID") // ErrApiServerNeeded // | 400 | API_SERVER_NEEDED | This method be used by api server | ErrApiServerNeeded = status.Error(ErrBadRequest, "API_SERVER_NEEDED") // ErrInputRequestTooLong // | 400 | INPUT_REQUEST_TOO_LONG | The request is too big | ErrInputRequestTooLong = status.Error(ErrBadRequest, "INPUT_REQUEST_TOO_LONG") // ErrSmsCreateFailed // | 400 | SMS_CODE_CREATE_FAILED | An error occurred while creating the SMS code | ErrSmsCreateFailed = status.Error(ErrBadRequest, "SMS_CODE_CREATE_FAILED") // ErrFirstNameInvalid // 400 FIRSTNAME_INVALID Invalid first name ErrFirstNameInvalid = status.Error(ErrBadRequest, "FIRSTNAME_INVALID") // ErrLastNameInvalid // 400 LASTNAME_INVALID Invalid last name ErrLastNameInvalid = status.Error(ErrBadRequest, "LASTNAME_INVALID") // ErrCheckSumInvalid // MD5_CHECKSUM_INVALID: The file’s checksum did not match the md5_checksum parameter ErrCheckSumInvalid = status.Error(ErrBadRequest, "MD5_CHECKSUM_INVALID") // | `INPUT_METHOD_INVALID` | The method called is invalid ErrInputMethodInvalid = status.Error(ErrBadRequest, "INPUT_METHOD_INVALID") // ErrEncryptedChatIdInvalid // | 400 | ENCRYPTED_CHAT_ID_INVALID | The encrypted chat id is invalid | ErrEncryptedChatIdInvalid = status.Error(ErrBadRequest, "ENCRYPTED_CHAT_ID_INVALID") // ErrInputConstructorInvalid // 400 INPUT_CONSTRUCTOR_INVALID The provided constructor is invalid ErrInputConstructorInvalid = status.Error(ErrBadRequest, "INPUT_CONSTRUCTOR_INVALID") // ErrBotChannelsNA // 400 BOT_CHANNELS_NA Bots can't edit admin privileges ErrBotChannelsNA = status.Error(ErrBadRequest, "BOT_CHANNELS_NA") // ErrUserLeftChat // 400 USER_LEFT_CHAT // } else if (error == qstr("USER_LEFT_CHAT")) { ErrUserLeftChat = status.Error(ErrBadRequest, "USER_LEFT_CHAT") // ErrOptionDuplicate // POLL_OPTION_DUPLICATE 400 A duplicate option was sent in the same poll ErrOptionDuplicate = status.Error(ErrBadRequest, "POLL_OPTION_DUPLICATE") // ErrPollUnsupported // POLL_UNSUPPORTED 400 This layer does not support polls in the issued method ErrPollUnsupported = status.Error(ErrBadRequest, "POLL_UNSUPPORTED") // ErrLangCodeNotSupported // if ("LANG_CODE_NOT_SUPPORTED".equals(error.text)) { ErrLangCodeNotSupported = status.Error(ErrBadRequest, "LANG_CODE_NOT_SUPPORTED") // ErrAuthTokenAccepted // 400 - AUTH_TOKEN_ALREADY_ACCEPTED, the authorization token was already used ErrAuthTokenAccepted = status.Error(ErrBadRequest, "AUTH_TOKEN_ALREADY_ACCEPTED") // ErrThemeSlugOccupied // THEME_SLUG_OCCUPIED ErrThemeSlugOccupied = status.Error(ErrBadRequest, "THEME_SLUG_OCCUPIED") // ErrPasswordEmpty // PASSWORD_EMPTY 400 The provided password is empty ErrPasswordEmpty = status.Error(ErrBadRequest, "PASSWORD_EMPTY") // ErrThemeSlugInvalid // THEME_SLUG_INVALID 400 The input theme slug was not valid ErrThemeSlugInvalid = status.Error(ErrBadRequest, "THEME_SLUG_INVALID") // ErrGroupCallJoinMissing GROUPCALL_JOIN_MISSING ErrGroupCallJoinMissing = status.Error(ErrBadRequest, "GROUPCALL_JOIN_MISSING") // ErrGroupCallSsrcDuplicateMuch GROUPCALL_SSRC_DUPLICATE_MUCH ErrGroupCallSsrcDuplicateMuch = status.Error(ErrBadRequest, "GROUPCALL_SSRC_DUPLICATE_MUCH") // ErrGroupCallInvalid GROUPCALL_INVALID ErrGroupCallInvalid = status.Error(ErrBadRequest, "GROUPCALL_INVALID") // ErrGroupCallParticipantInvalid GROUPCALL_PARTICIPANT_INVALID ErrGroupCallParticipantInvalid = status.Error(ErrBadRequest, "GROUPCALL_PARTICIPANT_INVALID") // ErrGroupCallVideoTooMuch GROUPCALL_VIDEO_TOO_MUCH ErrGroupCallVideoTooMuch = status.Error(ErrBadRequest, "GROUPCALL_VIDEO_TOO_MUCH") // ErrJoinAsPeerInvalid JOIN_AS_PEER_INVALID ErrJoinAsPeerInvalid = status.Error(ErrBadRequest, "JOIN_AS_PEER_INVALID") // ErrGroupCallParticipantsTooMuch GROUPCALL_PARTICIPANTS_TOO_MUCH ErrGroupCallParticipantsTooMuch = status.Error(ErrBadRequest, "GROUPCALL_PARTICIPANTS_TOO_MUCH") // ErrAnonymousGroupCallDisabled ANONYMOUS_CALLS_DISABLED ErrAnonymousGroupCallDisabled = status.Error(ErrBadRequest, "ANONYMOUS_CALLS_DISABLED") // ErrGroupCallAnonymousForbidden GROUPCALL_ANONYMOUS_FORBIDDEN ErrGroupCallAnonymousForbidden = status.Error(ErrBadRequest, "GROUPCALL_ANONYMOUS_FORBIDDEN") // ErrRingtoneDurationTooLong RINGTONE_DURATION_TOO_LONG ErrRingtoneDurationTooLong = status.Error(ErrBadRequest, "RINGTONE_DURATION_TOO_LONG") // ErrRingtoneSizeTooBig RINGTONE_SIZE_TOO_BIG ErrRingtoneSizeTooBig = status.Error(ErrBadRequest, "RINGTONE_SIZE_TOO_BIG") // ErrorRingtoneInvalidFormat RINGTONE_INVALID_FORMAT ErrorRingtoneInvalidFormat = status.Error(ErrBadRequest, "RINGTONE_INVALID_FORMAT") )
var ( // ErrSessionPasswordNeeded // 401 SESSION_PASSWORD_NEEDED The user has enabled 2FA, more steps are needed ErrSessionPasswordNeeded = status.Error(ErrUnauthorized, "SESSION_PASSWORD_NEEDED") // ErrAuthKeyUnregistered // AUTH_KEY_UNREGISTERED: The key is not registered in the system ErrAuthKeyUnregistered = status.Error(ErrUnauthorized, "AUTH_KEY_UNREGISTERED") // ErrAuthKeyInvalid // | 401 | AUTH_KEY_INVALID | Auth key invalid. | ErrAuthKeyInvalid = status.Error(ErrUnauthorized, "AUTH_KEY_INVALID") // ErrUserDeactivated // USER_DEACTIVATED: The user has been deleted/deactivated ErrUserDeactivated = status.Error(ErrUnauthorized, "USER_DEACTIVATED") // ErrSessionRevoked // SESSION_REVOKED: The authorization has been invalidated, because of the user terminating all sessions ErrSessionRevoked = status.Error(ErrUnauthorized, "SESSION_REVOKED") // ErrSessionExpired // SESSION_EXPIRED: The authorization has expired ErrSessionExpired = status.Error(ErrUnauthorized, "SESSION_EXPIRED") // ErrAuthKeyPermEmpty // | 401 | AUTH_KEY_PERM_EMPTY | The temporary auth key must be binded to the permanent auth key to use these methods. | ErrAuthKeyPermEmpty = status.Error(ErrUnauthorized, "AUTH_KEY_PERM_EMPTY") // ErrActiveUserRequired // ACTIVE_USER_REQUIRED 401 The method is only available to already activated users ErrActiveUserRequired = status.Error(ErrUnauthorized, "ACTIVE_USER_REQUIRED") )
401 UNAUTHORIZED
var ( // ErrChatWriteForbidden // | 403 | CHAT_WRITE_FORBIDDEN | You can't write in this chat. | ErrChatWriteForbidden = status.Error(ErrForbidden, "CHAT_WRITE_FORBIDDEN") // ErrChatSendInlineForbidden // | 403 | CHAT_SEND_INLINE_FORBIDDEN | You can't send inline messages in this group. | ErrChatSendInlineForbidden = status.Error(ErrForbidden, "CHAT_SEND_INLINE_FORBIDDEN") // ErrChatSendMediaForbidden // | 403 | CHAT_SEND_MEDIA_FORBIDDEN | You can't send media in this chat. | ErrChatSendMediaForbidden = status.Error(ErrForbidden, "CHAT_SEND_MEDIA_FORBIDDEN") // ErrUserRestricted // | 403 | USER_RESTRICTED | You're spamreported, you can't create channels or chats. | ErrUserRestricted = status.Error(ErrForbidden, "USER_RESTRICTED") // ErrMessageAuthorRequired // | 403 | MESSAGE_AUTHOR_REQUIRED | Message author required. | ErrMessageAuthorRequired = status.Error(ErrForbidden, "MESSAGE_AUTHOR_REQUIRED") // ErrUserPrivacyRestricted // | 403 | USER_PRIVACY_RESTRICTED | The user's privacy settings do not allow you to do this. | ErrUserPrivacyRestricted = status.Error(ErrForbidden, "USER_PRIVACY_RESTRICTED") // ErrChatAdminInviteRequired // | 403 | CHAT_ADMIN_INVITE_REQUIRED | You do not have the rights to do this. | ErrChatAdminInviteRequired = status.Error(ErrForbidden, "CHAT_ADMIN_INVITE_REQUIRED") // ErrRightForbidden // | 403 | RIGHT_FORBIDDEN | Your admin rights do not allow you to do this. | ErrRightForbidden = status.Error(ErrForbidden, "RIGHT_FORBIDDEN") // ErrMessageDeleteForbidden // | 403 | MESSAGE_DELETE_FORBIDDEN | You can't delete one of the messages you tried to delete, most likely because it is a service message. | ErrMessageDeleteForbidden = status.Error(ErrForbidden, "MESSAGE_DELETE_FORBIDDEN") // ErrSensitiveChangeForbidden // | 403 | SENSITIVE_CHANGE_FORBIDDEN | You can't change your sensitive content settings. | ErrSensitiveChangeForbidden = status.Error(ErrForbidden, "SENSITIVE_CHANGE_FORBIDDEN") // ErrUserChannelsTooMuch // | 403 | USER_CHANNELS_TOO_MUCH | One of the users you tried to add is already in too many channels/supergroups. | ErrUserChannelsTooMuch = status.Error(ErrForbidden, "USER_CHANNELS_TOO_MUCH") // ErrChatSendPollForbidden // | 403 | CHAT_SEND_POLL_FORBIDDEN | You can't send polls in this chat. | ErrChatSendPollForbidden = status.Error(ErrForbidden, "CHAT_SEND_POLL_FORBIDDEN") // ErrParticipantJoinMissing // | 403 | PARTICIPANT_JOIN_MISSING | Trying to enable a presentation, when the user hasn't joined the Video Chat with phone.joinGroupCall. | ErrParticipantJoinMissing = status.Error(ErrForbidden, "PARTICIPANT_JOIN_MISSING") // ErrUserDeleted // | 403 | USER_DELETED | You can't send this secret message because the other participant deleted their account. | ErrUserDeleted = status.Error(ErrForbidden, "USER_DELETED") // ErrTakeoutRequired // | 403 | TAKEOUT_REQUIRED | A takeout session has to be initialized, first. | ErrTakeoutRequired = status.Error(ErrForbidden, "TAKEOUT_REQUIRED") // ErrChatSendGameForbidden // | 403 | CHAT_SEND_GAME_FORBIDDEN | You can't send a game to this chat. | ErrChatSendGameForbidden = status.Error(ErrForbidden, "CHAT_SEND_GAME_FORBIDDEN") // ErrBroadcastForbidden // | 403 | BROADCAST_FORBIDDEN | Participants of polls in channels should stay anonymous. | ErrBroadcastForbidden = status.Error(ErrForbidden, "BROADCAST_FORBIDDEN") // ErrInlineBotRequired // | 403 | INLINE_BOT_REQUIRED | Only the inline bot can edit message. | ErrInlineBotRequired = status.Error(ErrForbidden, "INLINE_BOT_REQUIRED") // ErrChatSendStickersForbidden // | 403 | CHAT_SEND_STICKERS_FORBIDDEN | You can't send stickers in this chat. | ErrChatSendStickersForbidden = status.Error(ErrForbidden, "CHAT_SEND_STICKERS_FORBIDDEN") // ErrPollVoteRequired // | 403 | POLL_VOTE_REQUIRED | Cast a vote in the poll before calling this method. | ErrPollVoteRequired = status.Error(ErrForbidden, "POLL_VOTE_REQUIRED") // ErrGroupcallForbidden // | 403 | GROUPCALL_FORBIDDEN | The group call has already ended. | ErrGroupcallForbidden = status.Error(ErrForbidden, "GROUPCALL_FORBIDDEN") // ErrChannelPublicGroupNa // | 403 | CHANNEL_PUBLIC_GROUP_NA | channel/supergroup not available. | ErrChannelPublicGroupNa = status.Error(ErrForbidden, "CHANNEL_PUBLIC_GROUP_NA") // ErrChatSendGifsForbidden // | 403 | CHAT_SEND_GIFS_FORBIDDEN | You can't send gifs in this chat. | ErrChatSendGifsForbidden = status.Error(ErrForbidden, "CHAT_SEND_GIFS_FORBIDDEN") )
403 FORBIDDEN
var ( // ErrPhonePasswordFlood // | 406 | PHONE_PASSWORD_FLOOD | You have tried logging in too many times. | ErrPhonePasswordFlood = status.Error(ErrNotAcceptable, "PHONE_PASSWORD_FLOOD") // | 406 | SEND_CODE_UNAVAILABLE | Returned when all available options for this type of number were already used (e.g. flash-call, then SMS, then this error might be returned to trigger a second resend). | ErrSendCodeUnavailable = status.Error(ErrNotAcceptable, "SEND_CODE_UNAVAILABLE") // ErrUserpicUploadRequired // | 406 | USERPIC_UPLOAD_REQUIRED | You must have a profile picture to publish your geolocation. | ErrUserpicUploadRequired = status.Error(ErrNotAcceptable, "USERPIC_UPLOAD_REQUIRED") // ErrFreshResetAuthorisationForbidden // | 406 | FRESH_RESET_AUTHORISATION_FORBIDDEN | You can't logout other sessions if less than 24 hours have passed since you logged on the current session. | ErrFreshResetAuthorisationForbidden = status.Error(ErrNotAcceptable, "FRESH_RESET_AUTHORISATION_FORBIDDEN") // ErrFreshChangePhoneForbidden // | 406 | FRESH_CHANGE_PHONE_FORBIDDEN | You can't change phone number right after logging in, please wait at least 24 hours. | ErrFreshChangePhoneForbidden = status.Error(ErrNotAcceptable, "FRESH_CHANGE_PHONE_FORBIDDEN") // ErrFreshChangeAdminsForbidden // | 406 | FRESH_CHANGE_ADMINS_FORBIDDEN | You were just elected admin, you can't add or modify other admins yet. | ErrFreshChangeAdminsForbidden = status.Error(ErrNotAcceptable, "FRESH_CHANGE_ADMINS_FORBIDDEN") // ErrPreviousChatImportActiveWait_5min // | 406 | PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_5MIN | Import for this chat is already in progress, wait 5 minutes before starting a new one. | ErrPreviousChatImportActiveWait_5min = status.Error(ErrNotAcceptable, "PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_5MIN") // ErrUserpicPrivacyRequired // | 406 | USERPIC_PRIVACY_REQUIRED | You need to disable privacy settings for your profile picture in order to make your geolocation public. | ErrUserpicPrivacyRequired = status.Error(ErrNotAcceptable, "USERPIC_PRIVACY_REQUIRED") // ErrFilerefUpgradeNeeded // | 406 | FILEREF_UPGRADE_NEEDED | The client has to be updated in order to support file references. | ErrFilerefUpgradeNeeded = status.Error(ErrNotAcceptable, "FILEREF_UPGRADE_NEEDED") // ErrStickersetOwnerAnonymous // | 406 | STICKERSET_OWNER_ANONYMOUS | Provided stickerset can't be installed as group stickerset to prevent admin deanonymisation. | ErrStickersetOwnerAnonymous = status.Error(ErrNotAcceptable, "STICKERSET_OWNER_ANONYMOUS") // ErrChatForwardsRestricted // 406 CHAT_FORWARDS_RESTRICTED You can't forward messages from a protected chat. ErrChatForwardsRestricted = status.Error(ErrNotAcceptable, "CHAT_FORWARDS_RESTRICTED") )
406 NOT_ACCEPTABLE
var ( // ErrInternelServerError // | 500 | INTERNAL_SERVER_ERROR | | ErrInternelServerError = status.Error(ErrInternal, "INTERNAL_SERVER_ERROR") StatusInternelServerError = status.New(ErrInternal, "INTERNAL_SERVER_ERROR") )
500 InternalServerError
var ( // ErrTimeout // | -503 | Timeout | Timeout while fetching data | ErrTimeout = status.Error(ErrTimeOut503, "Timeout") StatusTimeout = status.New(ErrTimeOut503, "Timeout") )
503 Timeout
var ( // ErrPushRpcClient // db error // TLRpcErrorCodes_NOTRETURN_CLIENT TLRpcErrorCodes = 700 ErrPushRpcClient = status.Error(ErrNotReturnClient, "NOTRETURN_CLIENT") // ErrMigratedToChannel // MIGRATED_TO_CHANNEL ErrMigratedToChannel = status.Error(ErrNotReturnClient, "MIGRATED_TO_CHANNEL") )
var ( ErrInvalidLengthSeqsvrTl = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSeqsvrTl = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupSeqsvrTl = fmt.Errorf("proto: unexpected end of group") )
var ( BoolFalse = MakeTLBoolFalse2(nil).To_Bool2() BoolTrue = MakeTLBoolTrue2(nil).To_Bool2() )
var ( // ErrP0nyFloodwait // | 420 | P0NY_FLOODWAIT | | ErrP0nyFloodwait = status.Error(ErrFlood, "P0NY_FLOODWAIT") )
420 ErrFlood codes.Code = 420
var TLConstructor_name = map[int32]string{
0: "CRC32_UNKNOWN",
-816401434: "CRC32_int32V",
1560852317: "CRC32_int64V",
-1551878720: "CRC32_boolFalse2",
-466523818: "CRC32_boolTrue2",
852168407: "CRC32_void",
1327779405: "CRC32_nodeAddrInfo",
753683407: "CRC32_rangeId",
-494247970: "CRC32_routerNode",
-1308968200: "CRC32_router",
-2003449992: "CRC32_setNodeInfo",
260619155: "CRC32_setNodeInfoList",
-720815251: "CRC32_perSetRouterTable",
1719366935: "CRC32_sequence",
1841312951: "CRC32_maxSeqsData",
-580368098: "CRC32_alloc_fetchNextSequence",
1382426801: "CRC32_alloc_getCurrentSequence",
-540991348: "CRC32_store_loadMaxSeqsData",
95451525: "CRC32_store_saveMaxSeq",
-857598577: "CRC32_store_loadRouteTable",
1038739636: "CRC32_store_saveRouteTable",
-1497386444: "CRC32_mediate_registerAllocSvr",
1637414201: "CRC32_mediate_unRegisterAllocSvr",
}
var TLConstructor_value = map[string]int32{
"CRC32_UNKNOWN": 0,
"CRC32_int32V": -816401434,
"CRC32_int64V": 1560852317,
"CRC32_boolFalse2": -1551878720,
"CRC32_boolTrue2": -466523818,
"CRC32_void": 852168407,
"CRC32_nodeAddrInfo": 1327779405,
"CRC32_rangeId": 753683407,
"CRC32_routerNode": -494247970,
"CRC32_router": -1308968200,
"CRC32_setNodeInfo": -2003449992,
"CRC32_setNodeInfoList": 260619155,
"CRC32_perSetRouterTable": -720815251,
"CRC32_sequence": 1719366935,
"CRC32_maxSeqsData": 1841312951,
"CRC32_alloc_fetchNextSequence": -580368098,
"CRC32_alloc_getCurrentSequence": 1382426801,
"CRC32_store_loadMaxSeqsData": -540991348,
"CRC32_store_saveMaxSeq": 95451525,
"CRC32_store_loadRouteTable": -857598577,
"CRC32_store_saveRouteTable": 1038739636,
"CRC32_mediate_registerAllocSvr": -1497386444,
"CRC32_mediate_unRegisterAllocSvr": 1637414201,
}
Functions ¶
func CalcSetSectionSize ¶
CalcSetSectionSize 计算出set里可以分配多少号段
func CheckClassID ¶
func GetClazzID ¶
func GetRPCContextRegisters ¶
func GetRPCContextRegisters() map[string]RPCContextTuple
func NewEmailUnconfirmedX ¶
NewEmailUnconfirmedX 400 EMAIL_UNCONFIRMED_X The provided email isn't confirmed, X is the length of the verification code that was just sent to the email: use account.verifyEmail to enter the received verification code and enable the recovery email.
func NewErr2faConfirmWaitX ¶
NewErr2faConfirmWaitX | 420 | 2FA_CONFIRM_WAIT_X | Since this account is active and protected by a 2FA password, we will delete it in 1 week for security purposes. You can cancel this process at any time, you'll be able to reset your account in X seconds. |
func NewErrFileMigrateX ¶
NewErrFileMigrateX FILE_MIGRATE_X: the file to be accessed is currently stored in a different data center.
func NewErrFileReferenceX ¶
NewErrFileReferenceX | 400 | FILE_REFERENCE_* | The file reference expired, it must be refreshed. |
func NewErrFloodWaitX ¶
NewErrFloodWaitX 420 FLOOD
FLOOD_WAIT_X: A wait of X seconds is required (where X is a number)
func NewErrNetworkMigrateX ¶
NewErrNetworkMigrateX | 303 | NETWORK_MIGRATE_X | Repeat the query to data-center X. | NETWORK_MIGRATE_X: the source IP address is associated with a different data center (for registration)
func NewErrPhoneMigrateX ¶
NewErrPhoneMigrateX | 303 | PHONE_MIGRATE_X | Repeat the query to data-center X. |
func NewErrSlowModeWaitX ¶
NewErrSlowModeWaitX | 420 | SLOWMODE_WAIT_X | Slowmode is enabled in this chat: you must wait for the specified number of seconds before sending another message to the chat. |
func NewErrTakeoutInitDelayX ¶
NewErrTakeoutInitDelayX | 420 | TAKEOUT_INIT_DELAY_X | Wait X seconds before initing takeout. |
func NewErrUserMigrateX ¶
NewErrUserMigrateX USER_MIGRATE_X: the user whose identity is being used to execute queries is associated with a different data center (for registration)
func NewFilePartXMissing ¶
NewFilePartXMissing FILE_PART_Х_MISSING: Part X (where X is a number) of the file is missing from storage. Try repeating the method call to resave the part.
func RegisterRPCAllocServer ¶
func RegisterRPCAllocServer(s *grpc.Server, srv RPCAllocServer)
func RegisterRPCMediateServer ¶
func RegisterRPCMediateServer(s *grpc.Server, srv RPCMediateServer)
func RegisterRPCStoreServer ¶
func RegisterRPCStoreServer(s *grpc.Server, srv RPCStoreServer)
func StatusErrEqual ¶
StatusErrEqual is essentially a copy of testutils.StatusErrEqual(), to avoid a cyclic dependency.
func TLObjectToJson ¶
Types ¶
type Bool2 ¶
type Bool2 struct { PredicateName string `protobuf:"bytes,1,opt,name=predicate_name,json=predicateName,proto3" json:"predicate_name,omitempty"` Constructor TLConstructor `protobuf:"varint,2,opt,name=constructor,proto3,enum=seqsvr.TLConstructor" json:"constructor,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Bool2 <--
- TL_boolFalse2
- TL_boolTrue2
func (*Bool2) CalcByteSize ¶
func (*Bool2) DebugString ¶
func (*Bool2) Descriptor ¶
func (*Bool2) GetConstructor ¶
func (m *Bool2) GetConstructor() TLConstructor
func (*Bool2) GetPredicateName ¶
func (*Bool2) ProtoMessage ¶
func (*Bool2) ProtoMessage()
func (*Bool2) XXX_DiscardUnknown ¶
func (m *Bool2) XXX_DiscardUnknown()
func (*Bool2) XXX_Marshal ¶
func (*Bool2) XXX_Unmarshal ¶
type DecodeBuf ¶
type DecodeBuf struct {
// contains filtered or unexported fields
}
func NewDecodeBuf ¶
func (*DecodeBuf) StringBytes ¶
StringBytes
public String readString(boolean exception) { int startReadPosition = getPosition(); try { int sl = 1; int l = getIntFromByte(buffer.get()); if (l >= 254) { l = getIntFromByte(buffer.get()) | (getIntFromByte(buffer.get()) << 8) | (getIntFromByte(buffer.get()) << 16); sl = 4; } byte[] b = new byte[l]; buffer.get(b); int i = sl; while ((l + i) % 4 != 0) { buffer.get(); i++; } return new String(b, "UTF-8"); } catch (Exception e) { if (exception) { throw new RuntimeException("read string error", e); } else { if (BuildVars.LOGS_ENABLED) { FileLog.e("read string error"); } } position(startReadPosition); } return ""; }
func (*DecodeBuf) VectorBytes ¶
func (*DecodeBuf) VectorLong ¶
func (*DecodeBuf) VectorString ¶
type EncodeBuf ¶
type EncodeBuf struct {
// contains filtered or unexported fields
}
func NewEncodeBuf ¶
func (*EncodeBuf) StringBytes ¶
func (*EncodeBuf) VectorBytes ¶
func (*EncodeBuf) VectorLong ¶
func (*EncodeBuf) VectorObject ¶
func (*EncodeBuf) VectorString ¶
type Int32V ¶
type Int32V struct { PredicateName string `protobuf:"bytes,1,opt,name=predicate_name,json=predicateName,proto3" json:"predicate_name,omitempty"` Constructor TLConstructor `protobuf:"varint,2,opt,name=constructor,proto3,enum=seqsvr.TLConstructor" json:"constructor,omitempty"` V int32 `protobuf:"varint,3,opt,name=v,proto3" json:"v,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Int32V <--
- TL_int32V
func (*Int32V) CalcByteSize ¶
func (*Int32V) DebugString ¶
func (*Int32V) Descriptor ¶
func (*Int32V) GetConstructor ¶
func (m *Int32V) GetConstructor() TLConstructor
func (*Int32V) GetPredicateName ¶
func (*Int32V) MarshalToSizedBuffer ¶
func (*Int32V) ProtoMessage ¶
func (*Int32V) ProtoMessage()
func (*Int32V) XXX_DiscardUnknown ¶
func (m *Int32V) XXX_DiscardUnknown()
func (*Int32V) XXX_Marshal ¶
func (*Int32V) XXX_Unmarshal ¶
type Int64V ¶
type Int64V struct { PredicateName string `protobuf:"bytes,1,opt,name=predicate_name,json=predicateName,proto3" json:"predicate_name,omitempty"` Constructor TLConstructor `protobuf:"varint,2,opt,name=constructor,proto3,enum=seqsvr.TLConstructor" json:"constructor,omitempty"` V int64 `protobuf:"varint,3,opt,name=v,proto3" json:"v,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Int64V <--
- TL_int64V
func MakeInt64V ¶
func (*Int64V) CalcByteSize ¶
func (*Int64V) DebugString ¶
func (*Int64V) Descriptor ¶
func (*Int64V) GetConstructor ¶
func (m *Int64V) GetConstructor() TLConstructor
func (*Int64V) GetPredicateName ¶
func (*Int64V) MarshalToSizedBuffer ¶
func (*Int64V) ProtoMessage ¶
func (*Int64V) ProtoMessage()
func (*Int64V) XXX_DiscardUnknown ¶
func (m *Int64V) XXX_DiscardUnknown()
func (*Int64V) XXX_Marshal ¶
func (*Int64V) XXX_Unmarshal ¶
type MaxSeqsData ¶
type MaxSeqsData struct { PredicateName string `protobuf:"bytes,1,opt,name=predicate_name,json=predicateName,proto3" json:"predicate_name,omitempty"` Constructor TLConstructor `protobuf:"varint,2,opt,name=constructor,proto3,enum=seqsvr.TLConstructor" json:"constructor,omitempty"` SetId *RangeId `protobuf:"bytes,3,opt,name=set_id,json=setId,proto3" json:"set_id,omitempty"` MaxSeqs []int64 `protobuf:"varint,4,rep,packed,name=max_seqs,json=maxSeqs,proto3" json:"max_seqs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
MaxSeqsData <--
- TL_maxSeqsData
func (*MaxSeqsData) CalcByteSize ¶
func (m *MaxSeqsData) CalcByteSize(layer int32) int
func (*MaxSeqsData) DebugString ¶
func (m *MaxSeqsData) DebugString() string
func (*MaxSeqsData) Decode ¶
func (m *MaxSeqsData) Decode(dBuf *DecodeBuf) error
func (*MaxSeqsData) Descriptor ¶
func (*MaxSeqsData) Descriptor() ([]byte, []int)
func (*MaxSeqsData) Encode ¶
func (m *MaxSeqsData) Encode(layer int32) []byte
func (*MaxSeqsData) GetConstructor ¶
func (m *MaxSeqsData) GetConstructor() TLConstructor
func (*MaxSeqsData) GetMaxSeqs ¶
func (m *MaxSeqsData) GetMaxSeqs() []int64
func (*MaxSeqsData) GetPredicateName ¶
func (m *MaxSeqsData) GetPredicateName() string
func (*MaxSeqsData) GetSetId ¶
func (m *MaxSeqsData) GetSetId() *RangeId
func (*MaxSeqsData) GoString ¶
func (this *MaxSeqsData) GoString() string
func (*MaxSeqsData) Marshal ¶
func (m *MaxSeqsData) Marshal() (dAtA []byte, err error)
func (*MaxSeqsData) MarshalToSizedBuffer ¶
func (m *MaxSeqsData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MaxSeqsData) ProtoMessage ¶
func (*MaxSeqsData) ProtoMessage()
func (*MaxSeqsData) Reset ¶
func (m *MaxSeqsData) Reset()
func (*MaxSeqsData) Size ¶
func (m *MaxSeqsData) Size() (n int)
func (*MaxSeqsData) String ¶
func (m *MaxSeqsData) String() string
func (*MaxSeqsData) To_MaxSeqsData ¶
func (m *MaxSeqsData) To_MaxSeqsData() *TLMaxSeqsData
To_MaxSeqsData
func (*MaxSeqsData) Unmarshal ¶
func (m *MaxSeqsData) Unmarshal(dAtA []byte) error
func (*MaxSeqsData) XXX_DiscardUnknown ¶
func (m *MaxSeqsData) XXX_DiscardUnknown()
func (*MaxSeqsData) XXX_Marshal ¶
func (m *MaxSeqsData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MaxSeqsData) XXX_Merge ¶
func (m *MaxSeqsData) XXX_Merge(src proto.Message)
func (*MaxSeqsData) XXX_Size ¶
func (m *MaxSeqsData) XXX_Size() int
func (*MaxSeqsData) XXX_Unmarshal ¶
func (m *MaxSeqsData) XXX_Unmarshal(b []byte) error
type NodeAddrInfo ¶
type NodeAddrInfo struct { PredicateName string `protobuf:"bytes,1,opt,name=predicate_name,json=predicateName,proto3" json:"predicate_name,omitempty"` Constructor TLConstructor `protobuf:"varint,2,opt,name=constructor,proto3,enum=seqsvr.TLConstructor" json:"constructor,omitempty"` Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` Port int32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
NodeAddrInfo <--
- TL_nodeAddrInfo
func (*NodeAddrInfo) CalcByteSize ¶
func (m *NodeAddrInfo) CalcByteSize(layer int32) int
func (*NodeAddrInfo) DebugString ¶
func (m *NodeAddrInfo) DebugString() string
func (*NodeAddrInfo) Decode ¶
func (m *NodeAddrInfo) Decode(dBuf *DecodeBuf) error
func (*NodeAddrInfo) Descriptor ¶
func (*NodeAddrInfo) Descriptor() ([]byte, []int)
func (*NodeAddrInfo) Encode ¶
func (m *NodeAddrInfo) Encode(layer int32) []byte
func (*NodeAddrInfo) GetConstructor ¶
func (m *NodeAddrInfo) GetConstructor() TLConstructor
func (*NodeAddrInfo) GetIp ¶
func (m *NodeAddrInfo) GetIp() string
func (*NodeAddrInfo) GetPort ¶
func (m *NodeAddrInfo) GetPort() int32
func (*NodeAddrInfo) GetPredicateName ¶
func (m *NodeAddrInfo) GetPredicateName() string
func (*NodeAddrInfo) GoString ¶
func (this *NodeAddrInfo) GoString() string
func (*NodeAddrInfo) Marshal ¶
func (m *NodeAddrInfo) Marshal() (dAtA []byte, err error)
func (*NodeAddrInfo) MarshalToSizedBuffer ¶
func (m *NodeAddrInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NodeAddrInfo) ProtoMessage ¶
func (*NodeAddrInfo) ProtoMessage()
func (*NodeAddrInfo) Reset ¶
func (m *NodeAddrInfo) Reset()
func (*NodeAddrInfo) Size ¶
func (m *NodeAddrInfo) Size() (n int)
func (*NodeAddrInfo) String ¶
func (m *NodeAddrInfo) String() string
func (*NodeAddrInfo) To_NodeAddrInfo ¶
func (m *NodeAddrInfo) To_NodeAddrInfo() *TLNodeAddrInfo
To_NodeAddrInfo
func (*NodeAddrInfo) Unmarshal ¶
func (m *NodeAddrInfo) Unmarshal(dAtA []byte) error
func (*NodeAddrInfo) XXX_DiscardUnknown ¶
func (m *NodeAddrInfo) XXX_DiscardUnknown()
func (*NodeAddrInfo) XXX_Marshal ¶
func (m *NodeAddrInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeAddrInfo) XXX_Merge ¶
func (m *NodeAddrInfo) XXX_Merge(src proto.Message)
func (*NodeAddrInfo) XXX_Size ¶
func (m *NodeAddrInfo) XXX_Size() int
func (*NodeAddrInfo) XXX_Unmarshal ¶
func (m *NodeAddrInfo) XXX_Unmarshal(b []byte) error
type PerSetRouterTable ¶
type PerSetRouterTable struct { PredicateName string `protobuf:"bytes,1,opt,name=predicate_name,json=predicateName,proto3" json:"predicate_name,omitempty"` Constructor TLConstructor `protobuf:"varint,2,opt,name=constructor,proto3,enum=seqsvr.TLConstructor" json:"constructor,omitempty"` SetId *RangeId `protobuf:"bytes,3,opt,name=set_id,json=setId,proto3" json:"set_id,omitempty"` NodeList []*RouterNode `protobuf:"bytes,4,rep,name=node_list,json=nodeList,proto3" json:"node_list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
PerSetRouterTable <--
- TL_perSetRouterTable
func (*PerSetRouterTable) CalcByteSize ¶
func (m *PerSetRouterTable) CalcByteSize(layer int32) int
func (*PerSetRouterTable) DebugString ¶
func (m *PerSetRouterTable) DebugString() string
func (*PerSetRouterTable) Decode ¶
func (m *PerSetRouterTable) Decode(dBuf *DecodeBuf) error
func (*PerSetRouterTable) Descriptor ¶
func (*PerSetRouterTable) Descriptor() ([]byte, []int)
func (*PerSetRouterTable) Encode ¶
func (m *PerSetRouterTable) Encode(layer int32) []byte
func (*PerSetRouterTable) GetConstructor ¶
func (m *PerSetRouterTable) GetConstructor() TLConstructor
func (*PerSetRouterTable) GetNodeList ¶
func (m *PerSetRouterTable) GetNodeList() []*RouterNode
func (*PerSetRouterTable) GetPredicateName ¶
func (m *PerSetRouterTable) GetPredicateName() string
func (*PerSetRouterTable) GetSetId ¶
func (m *PerSetRouterTable) GetSetId() *RangeId
func (*PerSetRouterTable) GoString ¶
func (this *PerSetRouterTable) GoString() string
func (*PerSetRouterTable) Marshal ¶
func (m *PerSetRouterTable) Marshal() (dAtA []byte, err error)
func (*PerSetRouterTable) MarshalTo ¶
func (m *PerSetRouterTable) MarshalTo(dAtA []byte) (int, error)
func (*PerSetRouterTable) MarshalToSizedBuffer ¶
func (m *PerSetRouterTable) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PerSetRouterTable) ProtoMessage ¶
func (*PerSetRouterTable) ProtoMessage()
func (*PerSetRouterTable) Reset ¶
func (m *PerSetRouterTable) Reset()
func (*PerSetRouterTable) Size ¶
func (m *PerSetRouterTable) Size() (n int)
func (*PerSetRouterTable) String ¶
func (m *PerSetRouterTable) String() string
func (*PerSetRouterTable) To_PerSetRouterTable ¶
func (m *PerSetRouterTable) To_PerSetRouterTable() *TLPerSetRouterTable
To_PerSetRouterTable
func (*PerSetRouterTable) Unmarshal ¶
func (m *PerSetRouterTable) Unmarshal(dAtA []byte) error
func (*PerSetRouterTable) XXX_DiscardUnknown ¶
func (m *PerSetRouterTable) XXX_DiscardUnknown()
func (*PerSetRouterTable) XXX_Marshal ¶
func (m *PerSetRouterTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PerSetRouterTable) XXX_Merge ¶
func (m *PerSetRouterTable) XXX_Merge(src proto.Message)
func (*PerSetRouterTable) XXX_Size ¶
func (m *PerSetRouterTable) XXX_Size() int
func (*PerSetRouterTable) XXX_Unmarshal ¶
func (m *PerSetRouterTable) XXX_Unmarshal(b []byte) error
type RPCAllocClient ¶
type RPCAllocClient interface { AllocFetchNextSequence(ctx context.Context, in *TLAllocFetchNextSequence, opts ...grpc.CallOption) (*Sequence, error) AllocGetCurrentSequence(ctx context.Context, in *TLAllocGetCurrentSequence, opts ...grpc.CallOption) (*Sequence, error) }
RPCAllocClient is the client API for RPCAlloc service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRPCAllocClient ¶
func NewRPCAllocClient(cc *grpc.ClientConn) RPCAllocClient
type RPCAllocServer ¶
type RPCAllocServer interface { AllocFetchNextSequence(context.Context, *TLAllocFetchNextSequence) (*Sequence, error) AllocGetCurrentSequence(context.Context, *TLAllocGetCurrentSequence) (*Sequence, error) }
RPCAllocServer is the server API for RPCAlloc service.
type RPCContextTuple ¶
type RPCContextTuple struct { Method string NewReplyFunc newRPCReplyFunc }
func FindRPCContextTuple ¶
func FindRPCContextTuple(t interface{}) *RPCContextTuple
type RPCMediateClient ¶
type RPCMediateClient interface { MediateRegisterAllocSvr(ctx context.Context, in *TLMediateRegisterAllocSvr, opts ...grpc.CallOption) (*Bool2, error) MediateUnRegisterAllocSvr(ctx context.Context, in *TLMediateUnRegisterAllocSvr, opts ...grpc.CallOption) (*Bool2, error) }
RPCMediateClient is the client API for RPCMediate service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRPCMediateClient ¶
func NewRPCMediateClient(cc *grpc.ClientConn) RPCMediateClient
type RPCMediateServer ¶
type RPCMediateServer interface { MediateRegisterAllocSvr(context.Context, *TLMediateRegisterAllocSvr) (*Bool2, error) MediateUnRegisterAllocSvr(context.Context, *TLMediateUnRegisterAllocSvr) (*Bool2, error) }
RPCMediateServer is the server API for RPCMediate service.
type RPCStoreClient ¶
type RPCStoreClient interface { StoreLoadMaxSeqsData(ctx context.Context, in *TLStoreLoadMaxSeqsData, opts ...grpc.CallOption) (*MaxSeqsData, error) StoreSaveMaxSeq(ctx context.Context, in *TLStoreSaveMaxSeq, opts ...grpc.CallOption) (*Int64V, error) StoreLoadRouteTable(ctx context.Context, in *TLStoreLoadRouteTable, opts ...grpc.CallOption) (*Router, error) StoreSaveRouteTable(ctx context.Context, in *TLStoreSaveRouteTable, opts ...grpc.CallOption) (*Bool2, error) }
RPCStoreClient is the client API for RPCStore service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRPCStoreClient ¶
func NewRPCStoreClient(cc *grpc.ClientConn) RPCStoreClient
type RPCStoreServer ¶
type RPCStoreServer interface { StoreLoadMaxSeqsData(context.Context, *TLStoreLoadMaxSeqsData) (*MaxSeqsData, error) StoreSaveMaxSeq(context.Context, *TLStoreSaveMaxSeq) (*Int64V, error) StoreLoadRouteTable(context.Context, *TLStoreLoadRouteTable) (*Router, error) StoreSaveRouteTable(context.Context, *TLStoreSaveRouteTable) (*Bool2, error) }
RPCStoreServer is the server API for RPCStore service.
type RangeID ¶
RangeID ID范围
func (RangeID) CalcSectionID ¶
CalcSectionID 存储里会用到 由id计算出属于set里哪个section
func (RangeID) CalcSetSectionSize ¶
CalcSetSectionSize // 计算出set里可以分配多少号段
func (RangeID) CheckIDByRange ¶
CheckIDByRange 检查id是否在当前set里
type RangeId ¶
type RangeId struct { PredicateName string `protobuf:"bytes,1,opt,name=predicate_name,json=predicateName,proto3" json:"predicate_name,omitempty"` Constructor TLConstructor `protobuf:"varint,2,opt,name=constructor,proto3,enum=seqsvr.TLConstructor" json:"constructor,omitempty"` IdBegin int32 `protobuf:"varint,3,opt,name=id_begin,json=idBegin,proto3" json:"id_begin,omitempty"` Size2 int32 `protobuf:"varint,4,opt,name=size2,proto3" json:"size2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
RangeId <--
- TL_rangeId
func (*RangeId) CalcByteSize ¶
func (*RangeId) CalcSectionID ¶
CalcSectionID 存储里会用到 由id计算出属于set里哪个section
func (*RangeId) CalcSetSectionSize ¶
CalcSetSectionSize // 计算出set里可以分配多少号段
func (*RangeId) CheckIDByRange ¶
CheckIDByRange 检查id是否在当前set里
func (*RangeId) DebugString ¶
func (*RangeId) Descriptor ¶
func (*RangeId) GetConstructor ¶
func (m *RangeId) GetConstructor() TLConstructor
func (*RangeId) GetIdBegin ¶
func (*RangeId) GetPredicateName ¶
func (*RangeId) MarshalToSizedBuffer ¶
func (*RangeId) ProtoMessage ¶
func (*RangeId) ProtoMessage()
func (*RangeId) XXX_DiscardUnknown ¶
func (m *RangeId) XXX_DiscardUnknown()
func (*RangeId) XXX_Marshal ¶
func (*RangeId) XXX_Unmarshal ¶
type Router ¶
type Router struct { PredicateName string `protobuf:"bytes,1,opt,name=predicate_name,json=predicateName,proto3" json:"predicate_name,omitempty"` Constructor TLConstructor `protobuf:"varint,2,opt,name=constructor,proto3,enum=seqsvr.TLConstructor" json:"constructor,omitempty"` Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` NodeList []*RouterNode `protobuf:"bytes,4,rep,name=node_list,json=nodeList,proto3" json:"node_list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Router <--
- TL_router
func (*Router) CalcByteSize ¶
func (*Router) DebugString ¶
func (*Router) Descriptor ¶
func (*Router) GetConstructor ¶
func (m *Router) GetConstructor() TLConstructor
func (*Router) GetNodeList ¶
func (m *Router) GetNodeList() []*RouterNode
func (*Router) GetPredicateName ¶
func (*Router) GetVersion ¶
func (*Router) MarshalToSizedBuffer ¶
func (*Router) ProtoMessage ¶
func (*Router) ProtoMessage()
func (*Router) XXX_DiscardUnknown ¶
func (m *Router) XXX_DiscardUnknown()
func (*Router) XXX_Marshal ¶
func (*Router) XXX_Unmarshal ¶
type RouterNode ¶
type RouterNode struct { PredicateName string `protobuf:"bytes,1,opt,name=predicate_name,json=predicateName,proto3" json:"predicate_name,omitempty"` Constructor TLConstructor `protobuf:"varint,2,opt,name=constructor,proto3,enum=seqsvr.TLConstructor" json:"constructor,omitempty"` NodeAddr *NodeAddrInfo `protobuf:"bytes,3,opt,name=node_addr,json=nodeAddr,proto3" json:"node_addr,omitempty"` SectionRanges []*RangeId `protobuf:"bytes,4,rep,name=section_ranges,json=sectionRanges,proto3" json:"section_ranges,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
RouterNode <--
- TL_routerNode
func (*RouterNode) CalcByteSize ¶
func (m *RouterNode) CalcByteSize(layer int32) int
func (*RouterNode) DebugString ¶
func (m *RouterNode) DebugString() string
func (*RouterNode) Decode ¶
func (m *RouterNode) Decode(dBuf *DecodeBuf) error
func (*RouterNode) Descriptor ¶
func (*RouterNode) Descriptor() ([]byte, []int)
func (*RouterNode) Encode ¶
func (m *RouterNode) Encode(layer int32) []byte
func (*RouterNode) GetConstructor ¶
func (m *RouterNode) GetConstructor() TLConstructor
func (*RouterNode) GetNodeAddr ¶
func (m *RouterNode) GetNodeAddr() *NodeAddrInfo
func (*RouterNode) GetPredicateName ¶
func (m *RouterNode) GetPredicateName() string
func (*RouterNode) GetSectionRanges ¶
func (m *RouterNode) GetSectionRanges() []*RangeId
func (*RouterNode) GoString ¶
func (this *RouterNode) GoString() string
func (*RouterNode) Marshal ¶
func (m *RouterNode) Marshal() (dAtA []byte, err error)
func (*RouterNode) MarshalToSizedBuffer ¶
func (m *RouterNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RouterNode) ProtoMessage ¶
func (*RouterNode) ProtoMessage()
func (*RouterNode) Reset ¶
func (m *RouterNode) Reset()
func (*RouterNode) Size ¶
func (m *RouterNode) Size() (n int)
func (*RouterNode) String ¶
func (m *RouterNode) String() string
func (*RouterNode) Unmarshal ¶
func (m *RouterNode) Unmarshal(dAtA []byte) error
func (*RouterNode) XXX_DiscardUnknown ¶
func (m *RouterNode) XXX_DiscardUnknown()
func (*RouterNode) XXX_Marshal ¶
func (m *RouterNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RouterNode) XXX_Merge ¶
func (m *RouterNode) XXX_Merge(src proto.Message)
func (*RouterNode) XXX_Size ¶
func (m *RouterNode) XXX_Size() int
func (*RouterNode) XXX_Unmarshal ¶
func (m *RouterNode) XXX_Unmarshal(b []byte) error
type Section ¶
type Section struct { //Section(uint32_t id_begin, uint64_t* id_max_seq) //: section_id(id_begin), //max_seq(id_max_seq) { // //// 命名:section_name //folly::format(section_name, "section_{}_{}", kMaxSectionSize, id_begin); //} // ////////////////////////////////////////////////////////////////////////// // section里分配的第一个id做为section_id SectionId int32 // section_name命名规则:section_begin(id)_end(id+slot_size-1) SectionName string // section里的max_seq值 MaxSeq *int32 }
Section // Section只关注是第几个section
type Sequence ¶
type Sequence struct { PredicateName string `protobuf:"bytes,1,opt,name=predicate_name,json=predicateName,proto3" json:"predicate_name,omitempty"` Constructor TLConstructor `protobuf:"varint,2,opt,name=constructor,proto3,enum=seqsvr.TLConstructor" json:"constructor,omitempty"` Seq int64 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"` Router *Router `protobuf:"bytes,4,opt,name=router,proto3" json:"router,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Sequence <--
- TL_sequence
func (*Sequence) CalcByteSize ¶
func (*Sequence) DebugString ¶
func (*Sequence) Descriptor ¶
func (*Sequence) GetConstructor ¶
func (m *Sequence) GetConstructor() TLConstructor
func (*Sequence) GetPredicateName ¶
func (*Sequence) MarshalToSizedBuffer ¶
func (*Sequence) ProtoMessage ¶
func (*Sequence) ProtoMessage()
func (*Sequence) XXX_DiscardUnknown ¶
func (m *Sequence) XXX_DiscardUnknown()
func (*Sequence) XXX_Marshal ¶
func (*Sequence) XXX_Unmarshal ¶
type Set ¶
type Set struct { SetId SetID SetMaxSeqsData SliceInt64 }
type SetNodeInfo ¶
type SetNodeInfo struct { PredicateName string `protobuf:"bytes,1,opt,name=predicate_name,json=predicateName,proto3" json:"predicate_name,omitempty"` Constructor TLConstructor `protobuf:"varint,2,opt,name=constructor,proto3,enum=seqsvr.TLConstructor" json:"constructor,omitempty"` SetId *RangeId `protobuf:"bytes,3,opt,name=set_id,json=setId,proto3" json:"set_id,omitempty"` NodeAddr *NodeAddrInfo `protobuf:"bytes,4,opt,name=node_addr,json=nodeAddr,proto3" json:"node_addr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SetNodeInfo <--
- TL_setNodeInfo
func (*SetNodeInfo) CalcByteSize ¶
func (m *SetNodeInfo) CalcByteSize(layer int32) int
func (*SetNodeInfo) DebugString ¶
func (m *SetNodeInfo) DebugString() string
func (*SetNodeInfo) Decode ¶
func (m *SetNodeInfo) Decode(dBuf *DecodeBuf) error
func (*SetNodeInfo) Descriptor ¶
func (*SetNodeInfo) Descriptor() ([]byte, []int)
func (*SetNodeInfo) Encode ¶
func (m *SetNodeInfo) Encode(layer int32) []byte
func (*SetNodeInfo) GetConstructor ¶
func (m *SetNodeInfo) GetConstructor() TLConstructor
func (*SetNodeInfo) GetNodeAddr ¶
func (m *SetNodeInfo) GetNodeAddr() *NodeAddrInfo
func (*SetNodeInfo) GetPredicateName ¶
func (m *SetNodeInfo) GetPredicateName() string
func (*SetNodeInfo) GetSetId ¶
func (m *SetNodeInfo) GetSetId() *RangeId
func (*SetNodeInfo) GoString ¶
func (this *SetNodeInfo) GoString() string
func (*SetNodeInfo) Marshal ¶
func (m *SetNodeInfo) Marshal() (dAtA []byte, err error)
func (*SetNodeInfo) MarshalToSizedBuffer ¶
func (m *SetNodeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetNodeInfo) ProtoMessage ¶
func (*SetNodeInfo) ProtoMessage()
func (*SetNodeInfo) Reset ¶
func (m *SetNodeInfo) Reset()
func (*SetNodeInfo) Size ¶
func (m *SetNodeInfo) Size() (n int)
func (*SetNodeInfo) String ¶
func (m *SetNodeInfo) String() string
func (*SetNodeInfo) To_SetNodeInfo ¶
func (m *SetNodeInfo) To_SetNodeInfo() *TLSetNodeInfo
To_SetNodeInfo
func (*SetNodeInfo) Unmarshal ¶
func (m *SetNodeInfo) Unmarshal(dAtA []byte) error
func (*SetNodeInfo) XXX_DiscardUnknown ¶
func (m *SetNodeInfo) XXX_DiscardUnknown()
func (*SetNodeInfo) XXX_Marshal ¶
func (m *SetNodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetNodeInfo) XXX_Merge ¶
func (m *SetNodeInfo) XXX_Merge(src proto.Message)
func (*SetNodeInfo) XXX_Size ¶
func (m *SetNodeInfo) XXX_Size() int
func (*SetNodeInfo) XXX_Unmarshal ¶
func (m *SetNodeInfo) XXX_Unmarshal(b []byte) error
type SetNodeInfoList ¶
type SetNodeInfoList struct { PredicateName string `protobuf:"bytes,1,opt,name=predicate_name,json=predicateName,proto3" json:"predicate_name,omitempty"` Constructor TLConstructor `protobuf:"varint,2,opt,name=constructor,proto3,enum=seqsvr.TLConstructor" json:"constructor,omitempty"` SetId *RangeId `protobuf:"bytes,3,opt,name=set_id,json=setId,proto3" json:"set_id,omitempty"` NodeAddrs []*NodeAddrInfo `protobuf:"bytes,4,rep,name=node_addrs,json=nodeAddrs,proto3" json:"node_addrs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SetNodeInfoList <--
- TL_setNodeInfoList
func (*SetNodeInfoList) CalcByteSize ¶
func (m *SetNodeInfoList) CalcByteSize(layer int32) int
func (*SetNodeInfoList) DebugString ¶
func (m *SetNodeInfoList) DebugString() string
func (*SetNodeInfoList) Decode ¶
func (m *SetNodeInfoList) Decode(dBuf *DecodeBuf) error
func (*SetNodeInfoList) Descriptor ¶
func (*SetNodeInfoList) Descriptor() ([]byte, []int)
func (*SetNodeInfoList) Encode ¶
func (m *SetNodeInfoList) Encode(layer int32) []byte
func (*SetNodeInfoList) GetConstructor ¶
func (m *SetNodeInfoList) GetConstructor() TLConstructor
func (*SetNodeInfoList) GetNodeAddrs ¶
func (m *SetNodeInfoList) GetNodeAddrs() []*NodeAddrInfo
func (*SetNodeInfoList) GetPredicateName ¶
func (m *SetNodeInfoList) GetPredicateName() string
func (*SetNodeInfoList) GetSetId ¶
func (m *SetNodeInfoList) GetSetId() *RangeId
func (*SetNodeInfoList) GoString ¶
func (this *SetNodeInfoList) GoString() string
func (*SetNodeInfoList) Marshal ¶
func (m *SetNodeInfoList) Marshal() (dAtA []byte, err error)
func (*SetNodeInfoList) MarshalToSizedBuffer ¶
func (m *SetNodeInfoList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetNodeInfoList) ProtoMessage ¶
func (*SetNodeInfoList) ProtoMessage()
func (*SetNodeInfoList) Reset ¶
func (m *SetNodeInfoList) Reset()
func (*SetNodeInfoList) Size ¶
func (m *SetNodeInfoList) Size() (n int)
func (*SetNodeInfoList) String ¶
func (m *SetNodeInfoList) String() string
func (*SetNodeInfoList) To_SetNodeInfoList ¶
func (m *SetNodeInfoList) To_SetNodeInfoList() *TLSetNodeInfoList
To_SetNodeInfoList
func (*SetNodeInfoList) Unmarshal ¶
func (m *SetNodeInfoList) Unmarshal(dAtA []byte) error
func (*SetNodeInfoList) XXX_DiscardUnknown ¶
func (m *SetNodeInfoList) XXX_DiscardUnknown()
func (*SetNodeInfoList) XXX_Marshal ¶
func (m *SetNodeInfoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetNodeInfoList) XXX_Merge ¶
func (m *SetNodeInfoList) XXX_Merge(src proto.Message)
func (*SetNodeInfoList) XXX_Size ¶
func (m *SetNodeInfoList) XXX_Size() int
func (*SetNodeInfoList) XXX_Unmarshal ¶
func (m *SetNodeInfoList) XXX_Unmarshal(b []byte) error
type SliceInt64 ¶
type SliceInt64 struct {
mmap.MMap
}
func (SliceInt64) GetIdx ¶
func (s SliceInt64) GetIdx(idx int) int64
func (SliceInt64) Len ¶
func (s SliceInt64) Len() int
func (SliceInt64) SetIdx ¶
func (s SliceInt64) SetIdx(idx int, v int64)
type TLAllocFetchNextSequence ¶
type TLAllocFetchNextSequence struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=seqsvr.TLConstructor" json:"constructor,omitempty"` Id int32 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` Version int32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLAllocFetchNextSequence) CalcByteSize ¶
func (m *TLAllocFetchNextSequence) CalcByteSize(layer int32) int
func (*TLAllocFetchNextSequence) DebugString ¶
func (m *TLAllocFetchNextSequence) DebugString() string
func (*TLAllocFetchNextSequence) Decode ¶
func (m *TLAllocFetchNextSequence) Decode(dBuf *DecodeBuf) error
func (*TLAllocFetchNextSequence) Descriptor ¶
func (*TLAllocFetchNextSequence) Descriptor() ([]byte, []int)
func (*TLAllocFetchNextSequence) Encode ¶
func (m *TLAllocFetchNextSequence) Encode(layer int32) []byte
func (*TLAllocFetchNextSequence) GetConstructor ¶
func (m *TLAllocFetchNextSequence) GetConstructor() TLConstructor
func (*TLAllocFetchNextSequence) GetId ¶
func (m *TLAllocFetchNextSequence) GetId() int32
func (*TLAllocFetchNextSequence) GetVersion ¶
func (m *TLAllocFetchNextSequence) GetVersion() int32
func (*TLAllocFetchNextSequence) GoString ¶
func (this *TLAllocFetchNextSequence) GoString() string
func (*TLAllocFetchNextSequence) Marshal ¶
func (m *TLAllocFetchNextSequence) Marshal() (dAtA []byte, err error)
func (*TLAllocFetchNextSequence) MarshalTo ¶
func (m *TLAllocFetchNextSequence) MarshalTo(dAtA []byte) (int, error)
func (*TLAllocFetchNextSequence) MarshalToSizedBuffer ¶
func (m *TLAllocFetchNextSequence) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLAllocFetchNextSequence) ProtoMessage ¶
func (*TLAllocFetchNextSequence) ProtoMessage()
func (*TLAllocFetchNextSequence) Reset ¶
func (m *TLAllocFetchNextSequence) Reset()
func (*TLAllocFetchNextSequence) Size ¶
func (m *TLAllocFetchNextSequence) Size() (n int)
func (*TLAllocFetchNextSequence) String ¶
func (m *TLAllocFetchNextSequence) String() string
func (*TLAllocFetchNextSequence) Unmarshal ¶
func (m *TLAllocFetchNextSequence) Unmarshal(dAtA []byte) error
func (*TLAllocFetchNextSequence) XXX_DiscardUnknown ¶
func (m *TLAllocFetchNextSequence) XXX_DiscardUnknown()
func (*TLAllocFetchNextSequence) XXX_Marshal ¶
func (m *TLAllocFetchNextSequence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLAllocFetchNextSequence) XXX_Merge ¶
func (m *TLAllocFetchNextSequence) XXX_Merge(src proto.Message)
func (*TLAllocFetchNextSequence) XXX_Size ¶
func (m *TLAllocFetchNextSequence) XXX_Size() int
func (*TLAllocFetchNextSequence) XXX_Unmarshal ¶
func (m *TLAllocFetchNextSequence) XXX_Unmarshal(b []byte) error
type TLAllocGetCurrentSequence ¶
type TLAllocGetCurrentSequence struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=seqsvr.TLConstructor" json:"constructor,omitempty"` Id int32 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` Version int32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLAllocGetCurrentSequence) CalcByteSize ¶
func (m *TLAllocGetCurrentSequence) CalcByteSize(layer int32) int
func (*TLAllocGetCurrentSequence) DebugString ¶
func (m *TLAllocGetCurrentSequence) DebugString() string
func (*TLAllocGetCurrentSequence) Decode ¶
func (m *TLAllocGetCurrentSequence) Decode(dBuf *DecodeBuf) error
func (*TLAllocGetCurrentSequence) Descriptor ¶
func (*TLAllocGetCurrentSequence) Descriptor() ([]byte, []int)
func (*TLAllocGetCurrentSequence) Encode ¶
func (m *TLAllocGetCurrentSequence) Encode(layer int32) []byte
func (*TLAllocGetCurrentSequence) GetConstructor ¶
func (m *TLAllocGetCurrentSequence) GetConstructor() TLConstructor
func (*TLAllocGetCurrentSequence) GetId ¶
func (m *TLAllocGetCurrentSequence) GetId() int32
func (*TLAllocGetCurrentSequence) GetVersion ¶
func (m *TLAllocGetCurrentSequence) GetVersion() int32
func (*TLAllocGetCurrentSequence) GoString ¶
func (this *TLAllocGetCurrentSequence) GoString() string
func (*TLAllocGetCurrentSequence) Marshal ¶
func (m *TLAllocGetCurrentSequence) Marshal() (dAtA []byte, err error)
func (*TLAllocGetCurrentSequence) MarshalTo ¶
func (m *TLAllocGetCurrentSequence) MarshalTo(dAtA []byte) (int, error)
func (*TLAllocGetCurrentSequence) MarshalToSizedBuffer ¶
func (m *TLAllocGetCurrentSequence) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLAllocGetCurrentSequence) ProtoMessage ¶
func (*TLAllocGetCurrentSequence) ProtoMessage()
func (*TLAllocGetCurrentSequence) Reset ¶
func (m *TLAllocGetCurrentSequence) Reset()
func (*TLAllocGetCurrentSequence) Size ¶
func (m *TLAllocGetCurrentSequence) Size() (n int)
func (*TLAllocGetCurrentSequence) String ¶
func (m *TLAllocGetCurrentSequence) String() string
func (*TLAllocGetCurrentSequence) Unmarshal ¶
func (m *TLAllocGetCurrentSequence) Unmarshal(dAtA []byte) error
func (*TLAllocGetCurrentSequence) XXX_DiscardUnknown ¶
func (m *TLAllocGetCurrentSequence) XXX_DiscardUnknown()
func (*TLAllocGetCurrentSequence) XXX_Marshal ¶
func (m *TLAllocGetCurrentSequence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLAllocGetCurrentSequence) XXX_Merge ¶
func (m *TLAllocGetCurrentSequence) XXX_Merge(src proto.Message)
func (*TLAllocGetCurrentSequence) XXX_Size ¶
func (m *TLAllocGetCurrentSequence) XXX_Size() int
func (*TLAllocGetCurrentSequence) XXX_Unmarshal ¶
func (m *TLAllocGetCurrentSequence) XXX_Unmarshal(b []byte) error
type TLBoolFalse2 ¶
type TLBoolFalse2 struct { Data2 *Bool2 `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TLBoolFalse2) CalcByteSize ¶
func (m *TLBoolFalse2) CalcByteSize(layer int32) int
func (*TLBoolFalse2) DebugString ¶
func (m *TLBoolFalse2) DebugString() string
func (*TLBoolFalse2) Decode ¶
func (m *TLBoolFalse2) Decode(dBuf *DecodeBuf) error
func (*TLBoolFalse2) Descriptor ¶
func (*TLBoolFalse2) Descriptor() ([]byte, []int)
func (*TLBoolFalse2) Encode ¶
func (m *TLBoolFalse2) Encode(layer int32) []byte
func (*TLBoolFalse2) GetData2 ¶
func (m *TLBoolFalse2) GetData2() *Bool2
func (*TLBoolFalse2) GetPredicateName ¶
func (m *TLBoolFalse2) GetPredicateName() string
func (*TLBoolFalse2) GoString ¶
func (this *TLBoolFalse2) GoString() string
func (*TLBoolFalse2) Marshal ¶
func (m *TLBoolFalse2) Marshal() (dAtA []byte, err error)
func (*TLBoolFalse2) MarshalToSizedBuffer ¶
func (m *TLBoolFalse2) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLBoolFalse2) ProtoMessage ¶
func (*TLBoolFalse2) ProtoMessage()
func (*TLBoolFalse2) Reset ¶
func (m *TLBoolFalse2) Reset()
func (*TLBoolFalse2) Size ¶
func (m *TLBoolFalse2) Size() (n int)
func (*TLBoolFalse2) String ¶
func (m *TLBoolFalse2) String() string
func (*TLBoolFalse2) To_Bool2 ¶
func (m *TLBoolFalse2) To_Bool2() *Bool2
func (*TLBoolFalse2) Unmarshal ¶
func (m *TLBoolFalse2) Unmarshal(dAtA []byte) error
func (*TLBoolFalse2) XXX_DiscardUnknown ¶
func (m *TLBoolFalse2) XXX_DiscardUnknown()
func (*TLBoolFalse2) XXX_Marshal ¶
func (m *TLBoolFalse2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLBoolFalse2) XXX_Merge ¶
func (m *TLBoolFalse2) XXX_Merge(src proto.Message)
func (*TLBoolFalse2) XXX_Size ¶
func (m *TLBoolFalse2) XXX_Size() int
func (*TLBoolFalse2) XXX_Unmarshal ¶
func (m *TLBoolFalse2) XXX_Unmarshal(b []byte) error
type TLBoolTrue2 ¶
type TLBoolTrue2 struct { Data2 *Bool2 `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TLBoolTrue2) CalcByteSize ¶
func (m *TLBoolTrue2) CalcByteSize(layer int32) int
func (*TLBoolTrue2) DebugString ¶
func (m *TLBoolTrue2) DebugString() string
func (*TLBoolTrue2) Decode ¶
func (m *TLBoolTrue2) Decode(dBuf *DecodeBuf) error
func (*TLBoolTrue2) Descriptor ¶
func (*TLBoolTrue2) Descriptor() ([]byte, []int)
func (*TLBoolTrue2) Encode ¶
func (m *TLBoolTrue2) Encode(layer int32) []byte
func (*TLBoolTrue2) GetData2 ¶
func (m *TLBoolTrue2) GetData2() *Bool2
func (*TLBoolTrue2) GetPredicateName ¶
func (m *TLBoolTrue2) GetPredicateName() string
func (*TLBoolTrue2) GoString ¶
func (this *TLBoolTrue2) GoString() string
func (*TLBoolTrue2) Marshal ¶
func (m *TLBoolTrue2) Marshal() (dAtA []byte, err error)
func (*TLBoolTrue2) MarshalToSizedBuffer ¶
func (m *TLBoolTrue2) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLBoolTrue2) ProtoMessage ¶
func (*TLBoolTrue2) ProtoMessage()
func (*TLBoolTrue2) Reset ¶
func (m *TLBoolTrue2) Reset()
func (*TLBoolTrue2) Size ¶
func (m *TLBoolTrue2) Size() (n int)
func (*TLBoolTrue2) String ¶
func (m *TLBoolTrue2) String() string
func (*TLBoolTrue2) To_Bool2 ¶
func (m *TLBoolTrue2) To_Bool2() *Bool2
func (*TLBoolTrue2) Unmarshal ¶
func (m *TLBoolTrue2) Unmarshal(dAtA []byte) error
func (*TLBoolTrue2) XXX_DiscardUnknown ¶
func (m *TLBoolTrue2) XXX_DiscardUnknown()
func (*TLBoolTrue2) XXX_Marshal ¶
func (m *TLBoolTrue2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLBoolTrue2) XXX_Merge ¶
func (m *TLBoolTrue2) XXX_Merge(src proto.Message)
func (*TLBoolTrue2) XXX_Size ¶
func (m *TLBoolTrue2) XXX_Size() int
func (*TLBoolTrue2) XXX_Unmarshal ¶
func (m *TLBoolTrue2) XXX_Unmarshal(b []byte) error
type TLConstructor ¶
type TLConstructor int32
const ( CRC32_UNKNOWN TLConstructor = 0 CRC32_int32V TLConstructor = -816401434 CRC32_int64V TLConstructor = 1560852317 CRC32_boolFalse2 TLConstructor = -1551878720 CRC32_boolTrue2 TLConstructor = -466523818 CRC32_void TLConstructor = 852168407 CRC32_nodeAddrInfo TLConstructor = 1327779405 CRC32_rangeId TLConstructor = 753683407 CRC32_routerNode TLConstructor = -494247970 CRC32_router TLConstructor = -1308968200 CRC32_setNodeInfo TLConstructor = -2003449992 CRC32_setNodeInfoList TLConstructor = 260619155 CRC32_perSetRouterTable TLConstructor = -720815251 CRC32_sequence TLConstructor = 1719366935 CRC32_maxSeqsData TLConstructor = 1841312951 CRC32_alloc_fetchNextSequence TLConstructor = -580368098 CRC32_alloc_getCurrentSequence TLConstructor = 1382426801 CRC32_store_loadMaxSeqsData TLConstructor = -540991348 CRC32_store_saveMaxSeq TLConstructor = 95451525 CRC32_store_loadRouteTable TLConstructor = -857598577 CRC32_store_saveRouteTable TLConstructor = 1038739636 CRC32_mediate_registerAllocSvr TLConstructor = -1497386444 CRC32_mediate_unRegisterAllocSvr TLConstructor = 1637414201 )
const (
CRC32_vector TLConstructor = 481674261
)
func (TLConstructor) EnumDescriptor ¶
func (TLConstructor) EnumDescriptor() ([]byte, []int)
func (TLConstructor) String ¶
func (x TLConstructor) String() string
type TLInt32V ¶
type TLInt32V struct { Data2 *Int32V `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TLInt32V) CalcByteSize ¶
func (*TLInt32V) DebugString ¶
func (*TLInt32V) Descriptor ¶
func (*TLInt32V) GetPredicateName ¶
func (*TLInt32V) MarshalToSizedBuffer ¶
func (*TLInt32V) ProtoMessage ¶
func (*TLInt32V) ProtoMessage()
func (*TLInt32V) XXX_DiscardUnknown ¶
func (m *TLInt32V) XXX_DiscardUnknown()
func (*TLInt32V) XXX_Marshal ¶
func (*TLInt32V) XXX_Unmarshal ¶
type TLInt64V ¶
type TLInt64V struct { Data2 *Int64V `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TLInt64V) CalcByteSize ¶
func (*TLInt64V) DebugString ¶
func (*TLInt64V) Descriptor ¶
func (*TLInt64V) GetPredicateName ¶
func (*TLInt64V) MarshalToSizedBuffer ¶
func (*TLInt64V) ProtoMessage ¶
func (*TLInt64V) ProtoMessage()
func (*TLInt64V) XXX_DiscardUnknown ¶
func (m *TLInt64V) XXX_DiscardUnknown()
func (*TLInt64V) XXX_Marshal ¶
func (*TLInt64V) XXX_Unmarshal ¶
type TLMaxSeqsData ¶
type TLMaxSeqsData struct { Data2 *MaxSeqsData `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func MakeTLMaxSeqsData ¶
func MakeTLMaxSeqsData(data2 *MaxSeqsData) *TLMaxSeqsData
MakeTLMaxSeqsData
func (*TLMaxSeqsData) CalcByteSize ¶
func (m *TLMaxSeqsData) CalcByteSize(layer int32) int
func (*TLMaxSeqsData) DebugString ¶
func (m *TLMaxSeqsData) DebugString() string
func (*TLMaxSeqsData) Decode ¶
func (m *TLMaxSeqsData) Decode(dBuf *DecodeBuf) error
func (*TLMaxSeqsData) Descriptor ¶
func (*TLMaxSeqsData) Descriptor() ([]byte, []int)
func (*TLMaxSeqsData) Encode ¶
func (m *TLMaxSeqsData) Encode(layer int32) []byte
func (*TLMaxSeqsData) GetData2 ¶
func (m *TLMaxSeqsData) GetData2() *MaxSeqsData
func (*TLMaxSeqsData) GetMaxSeqs ¶
func (m *TLMaxSeqsData) GetMaxSeqs() []int64
func (*TLMaxSeqsData) GetPredicateName ¶
func (m *TLMaxSeqsData) GetPredicateName() string
func (*TLMaxSeqsData) GetSetId ¶
func (m *TLMaxSeqsData) GetSetId() *RangeId
func (*TLMaxSeqsData) GoString ¶
func (this *TLMaxSeqsData) GoString() string
func (*TLMaxSeqsData) Marshal ¶
func (m *TLMaxSeqsData) Marshal() (dAtA []byte, err error)
func (*TLMaxSeqsData) MarshalToSizedBuffer ¶
func (m *TLMaxSeqsData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLMaxSeqsData) ProtoMessage ¶
func (*TLMaxSeqsData) ProtoMessage()
func (*TLMaxSeqsData) Reset ¶
func (m *TLMaxSeqsData) Reset()
func (*TLMaxSeqsData) SetMaxSeqs ¶
func (m *TLMaxSeqsData) SetMaxSeqs(v []int64)
func (*TLMaxSeqsData) SetSetId ¶
func (m *TLMaxSeqsData) SetSetId(v *RangeId)
func (*TLMaxSeqsData) Size ¶
func (m *TLMaxSeqsData) Size() (n int)
func (*TLMaxSeqsData) String ¶
func (m *TLMaxSeqsData) String() string
func (*TLMaxSeqsData) To_MaxSeqsData ¶
func (m *TLMaxSeqsData) To_MaxSeqsData() *MaxSeqsData
func (*TLMaxSeqsData) Unmarshal ¶
func (m *TLMaxSeqsData) Unmarshal(dAtA []byte) error
func (*TLMaxSeqsData) XXX_DiscardUnknown ¶
func (m *TLMaxSeqsData) XXX_DiscardUnknown()
func (*TLMaxSeqsData) XXX_Marshal ¶
func (m *TLMaxSeqsData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLMaxSeqsData) XXX_Merge ¶
func (m *TLMaxSeqsData) XXX_Merge(src proto.Message)
func (*TLMaxSeqsData) XXX_Size ¶
func (m *TLMaxSeqsData) XXX_Size() int
func (*TLMaxSeqsData) XXX_Unmarshal ¶
func (m *TLMaxSeqsData) XXX_Unmarshal(b []byte) error
type TLMediateRegisterAllocSvr ¶
type TLMediateRegisterAllocSvr struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=seqsvr.TLConstructor" json:"constructor,omitempty"` NodeAddr *NodeAddrInfo `protobuf:"bytes,3,opt,name=node_addr,json=nodeAddr,proto3" json:"node_addr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLMediateRegisterAllocSvr) CalcByteSize ¶
func (m *TLMediateRegisterAllocSvr) CalcByteSize(layer int32) int
func (*TLMediateRegisterAllocSvr) DebugString ¶
func (m *TLMediateRegisterAllocSvr) DebugString() string
func (*TLMediateRegisterAllocSvr) Decode ¶
func (m *TLMediateRegisterAllocSvr) Decode(dBuf *DecodeBuf) error
func (*TLMediateRegisterAllocSvr) Descriptor ¶
func (*TLMediateRegisterAllocSvr) Descriptor() ([]byte, []int)
func (*TLMediateRegisterAllocSvr) Encode ¶
func (m *TLMediateRegisterAllocSvr) Encode(layer int32) []byte
func (*TLMediateRegisterAllocSvr) GetConstructor ¶
func (m *TLMediateRegisterAllocSvr) GetConstructor() TLConstructor
func (*TLMediateRegisterAllocSvr) GetNodeAddr ¶
func (m *TLMediateRegisterAllocSvr) GetNodeAddr() *NodeAddrInfo
func (*TLMediateRegisterAllocSvr) GoString ¶
func (this *TLMediateRegisterAllocSvr) GoString() string
func (*TLMediateRegisterAllocSvr) Marshal ¶
func (m *TLMediateRegisterAllocSvr) Marshal() (dAtA []byte, err error)
func (*TLMediateRegisterAllocSvr) MarshalTo ¶
func (m *TLMediateRegisterAllocSvr) MarshalTo(dAtA []byte) (int, error)
func (*TLMediateRegisterAllocSvr) MarshalToSizedBuffer ¶
func (m *TLMediateRegisterAllocSvr) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLMediateRegisterAllocSvr) ProtoMessage ¶
func (*TLMediateRegisterAllocSvr) ProtoMessage()
func (*TLMediateRegisterAllocSvr) Reset ¶
func (m *TLMediateRegisterAllocSvr) Reset()
func (*TLMediateRegisterAllocSvr) Size ¶
func (m *TLMediateRegisterAllocSvr) Size() (n int)
func (*TLMediateRegisterAllocSvr) String ¶
func (m *TLMediateRegisterAllocSvr) String() string
func (*TLMediateRegisterAllocSvr) Unmarshal ¶
func (m *TLMediateRegisterAllocSvr) Unmarshal(dAtA []byte) error
func (*TLMediateRegisterAllocSvr) XXX_DiscardUnknown ¶
func (m *TLMediateRegisterAllocSvr) XXX_DiscardUnknown()
func (*TLMediateRegisterAllocSvr) XXX_Marshal ¶
func (m *TLMediateRegisterAllocSvr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLMediateRegisterAllocSvr) XXX_Merge ¶
func (m *TLMediateRegisterAllocSvr) XXX_Merge(src proto.Message)
func (*TLMediateRegisterAllocSvr) XXX_Size ¶
func (m *TLMediateRegisterAllocSvr) XXX_Size() int
func (*TLMediateRegisterAllocSvr) XXX_Unmarshal ¶
func (m *TLMediateRegisterAllocSvr) XXX_Unmarshal(b []byte) error
type TLMediateUnRegisterAllocSvr ¶
type TLMediateUnRegisterAllocSvr struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=seqsvr.TLConstructor" json:"constructor,omitempty"` NodeAddr *NodeAddrInfo `protobuf:"bytes,3,opt,name=node_addr,json=nodeAddr,proto3" json:"node_addr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLMediateUnRegisterAllocSvr) CalcByteSize ¶
func (m *TLMediateUnRegisterAllocSvr) CalcByteSize(layer int32) int
func (*TLMediateUnRegisterAllocSvr) DebugString ¶
func (m *TLMediateUnRegisterAllocSvr) DebugString() string
func (*TLMediateUnRegisterAllocSvr) Decode ¶
func (m *TLMediateUnRegisterAllocSvr) Decode(dBuf *DecodeBuf) error
func (*TLMediateUnRegisterAllocSvr) Descriptor ¶
func (*TLMediateUnRegisterAllocSvr) Descriptor() ([]byte, []int)
func (*TLMediateUnRegisterAllocSvr) Encode ¶
func (m *TLMediateUnRegisterAllocSvr) Encode(layer int32) []byte
func (*TLMediateUnRegisterAllocSvr) GetConstructor ¶
func (m *TLMediateUnRegisterAllocSvr) GetConstructor() TLConstructor
func (*TLMediateUnRegisterAllocSvr) GetNodeAddr ¶
func (m *TLMediateUnRegisterAllocSvr) GetNodeAddr() *NodeAddrInfo
func (*TLMediateUnRegisterAllocSvr) GoString ¶
func (this *TLMediateUnRegisterAllocSvr) GoString() string
func (*TLMediateUnRegisterAllocSvr) Marshal ¶
func (m *TLMediateUnRegisterAllocSvr) Marshal() (dAtA []byte, err error)
func (*TLMediateUnRegisterAllocSvr) MarshalTo ¶
func (m *TLMediateUnRegisterAllocSvr) MarshalTo(dAtA []byte) (int, error)
func (*TLMediateUnRegisterAllocSvr) MarshalToSizedBuffer ¶
func (m *TLMediateUnRegisterAllocSvr) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLMediateUnRegisterAllocSvr) ProtoMessage ¶
func (*TLMediateUnRegisterAllocSvr) ProtoMessage()
func (*TLMediateUnRegisterAllocSvr) Reset ¶
func (m *TLMediateUnRegisterAllocSvr) Reset()
func (*TLMediateUnRegisterAllocSvr) Size ¶
func (m *TLMediateUnRegisterAllocSvr) Size() (n int)
func (*TLMediateUnRegisterAllocSvr) String ¶
func (m *TLMediateUnRegisterAllocSvr) String() string
func (*TLMediateUnRegisterAllocSvr) Unmarshal ¶
func (m *TLMediateUnRegisterAllocSvr) Unmarshal(dAtA []byte) error
func (*TLMediateUnRegisterAllocSvr) XXX_DiscardUnknown ¶
func (m *TLMediateUnRegisterAllocSvr) XXX_DiscardUnknown()
func (*TLMediateUnRegisterAllocSvr) XXX_Marshal ¶
func (m *TLMediateUnRegisterAllocSvr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLMediateUnRegisterAllocSvr) XXX_Merge ¶
func (m *TLMediateUnRegisterAllocSvr) XXX_Merge(src proto.Message)
func (*TLMediateUnRegisterAllocSvr) XXX_Size ¶
func (m *TLMediateUnRegisterAllocSvr) XXX_Size() int
func (*TLMediateUnRegisterAllocSvr) XXX_Unmarshal ¶
func (m *TLMediateUnRegisterAllocSvr) XXX_Unmarshal(b []byte) error
type TLNodeAddrInfo ¶
type TLNodeAddrInfo struct { Data2 *NodeAddrInfo `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func MakeTLNodeAddrInfo ¶
func MakeTLNodeAddrInfo(data2 *NodeAddrInfo) *TLNodeAddrInfo
MakeTLNodeAddrInfo
func (*TLNodeAddrInfo) CalcByteSize ¶
func (m *TLNodeAddrInfo) CalcByteSize(layer int32) int
func (*TLNodeAddrInfo) DebugString ¶
func (m *TLNodeAddrInfo) DebugString() string
func (*TLNodeAddrInfo) Decode ¶
func (m *TLNodeAddrInfo) Decode(dBuf *DecodeBuf) error
func (*TLNodeAddrInfo) Descriptor ¶
func (*TLNodeAddrInfo) Descriptor() ([]byte, []int)
func (*TLNodeAddrInfo) Encode ¶
func (m *TLNodeAddrInfo) Encode(layer int32) []byte
func (*TLNodeAddrInfo) GetData2 ¶
func (m *TLNodeAddrInfo) GetData2() *NodeAddrInfo
func (*TLNodeAddrInfo) GetIp ¶
func (m *TLNodeAddrInfo) GetIp() string
func (*TLNodeAddrInfo) GetPort ¶
func (m *TLNodeAddrInfo) GetPort() int32
func (*TLNodeAddrInfo) GetPredicateName ¶
func (m *TLNodeAddrInfo) GetPredicateName() string
func (*TLNodeAddrInfo) GoString ¶
func (this *TLNodeAddrInfo) GoString() string
func (*TLNodeAddrInfo) Marshal ¶
func (m *TLNodeAddrInfo) Marshal() (dAtA []byte, err error)
func (*TLNodeAddrInfo) MarshalToSizedBuffer ¶
func (m *TLNodeAddrInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLNodeAddrInfo) ProtoMessage ¶
func (*TLNodeAddrInfo) ProtoMessage()
func (*TLNodeAddrInfo) Reset ¶
func (m *TLNodeAddrInfo) Reset()
func (*TLNodeAddrInfo) SetIp ¶
func (m *TLNodeAddrInfo) SetIp(v string)
func (*TLNodeAddrInfo) SetPort ¶
func (m *TLNodeAddrInfo) SetPort(v int32)
func (*TLNodeAddrInfo) Size ¶
func (m *TLNodeAddrInfo) Size() (n int)
func (*TLNodeAddrInfo) String ¶
func (m *TLNodeAddrInfo) String() string
func (*TLNodeAddrInfo) To_NodeAddrInfo ¶
func (m *TLNodeAddrInfo) To_NodeAddrInfo() *NodeAddrInfo
func (*TLNodeAddrInfo) Unmarshal ¶
func (m *TLNodeAddrInfo) Unmarshal(dAtA []byte) error
func (*TLNodeAddrInfo) XXX_DiscardUnknown ¶
func (m *TLNodeAddrInfo) XXX_DiscardUnknown()
func (*TLNodeAddrInfo) XXX_Marshal ¶
func (m *TLNodeAddrInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLNodeAddrInfo) XXX_Merge ¶
func (m *TLNodeAddrInfo) XXX_Merge(src proto.Message)
func (*TLNodeAddrInfo) XXX_Size ¶
func (m *TLNodeAddrInfo) XXX_Size() int
func (*TLNodeAddrInfo) XXX_Unmarshal ¶
func (m *TLNodeAddrInfo) XXX_Unmarshal(b []byte) error
type TLObject ¶
type TLObject interface { Encode(layer int32) []byte Decode(dBuf *DecodeBuf) error String() string DebugString() string }
func NewTLObjectByClassID ¶
type TLPerSetRouterTable ¶
type TLPerSetRouterTable struct { Data2 *PerSetRouterTable `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func MakeTLPerSetRouterTable ¶
func MakeTLPerSetRouterTable(data2 *PerSetRouterTable) *TLPerSetRouterTable
MakeTLPerSetRouterTable
func (*TLPerSetRouterTable) CalcByteSize ¶
func (m *TLPerSetRouterTable) CalcByteSize(layer int32) int
func (*TLPerSetRouterTable) DebugString ¶
func (m *TLPerSetRouterTable) DebugString() string
func (*TLPerSetRouterTable) Decode ¶
func (m *TLPerSetRouterTable) Decode(dBuf *DecodeBuf) error
func (*TLPerSetRouterTable) Descriptor ¶
func (*TLPerSetRouterTable) Descriptor() ([]byte, []int)
func (*TLPerSetRouterTable) Encode ¶
func (m *TLPerSetRouterTable) Encode(layer int32) []byte
func (*TLPerSetRouterTable) GetData2 ¶
func (m *TLPerSetRouterTable) GetData2() *PerSetRouterTable
func (*TLPerSetRouterTable) GetNodeList ¶
func (m *TLPerSetRouterTable) GetNodeList() []*RouterNode
func (*TLPerSetRouterTable) GetPredicateName ¶
func (m *TLPerSetRouterTable) GetPredicateName() string
func (*TLPerSetRouterTable) GetSetId ¶
func (m *TLPerSetRouterTable) GetSetId() *RangeId
func (*TLPerSetRouterTable) GoString ¶
func (this *TLPerSetRouterTable) GoString() string
func (*TLPerSetRouterTable) Marshal ¶
func (m *TLPerSetRouterTable) Marshal() (dAtA []byte, err error)
func (*TLPerSetRouterTable) MarshalTo ¶
func (m *TLPerSetRouterTable) MarshalTo(dAtA []byte) (int, error)
func (*TLPerSetRouterTable) MarshalToSizedBuffer ¶
func (m *TLPerSetRouterTable) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLPerSetRouterTable) ProtoMessage ¶
func (*TLPerSetRouterTable) ProtoMessage()
func (*TLPerSetRouterTable) Reset ¶
func (m *TLPerSetRouterTable) Reset()
func (*TLPerSetRouterTable) SetNodeList ¶
func (m *TLPerSetRouterTable) SetNodeList(v []*RouterNode)
func (*TLPerSetRouterTable) SetSetId ¶
func (m *TLPerSetRouterTable) SetSetId(v *RangeId)
func (*TLPerSetRouterTable) Size ¶
func (m *TLPerSetRouterTable) Size() (n int)
func (*TLPerSetRouterTable) String ¶
func (m *TLPerSetRouterTable) String() string
func (*TLPerSetRouterTable) To_PerSetRouterTable ¶
func (m *TLPerSetRouterTable) To_PerSetRouterTable() *PerSetRouterTable
func (*TLPerSetRouterTable) Unmarshal ¶
func (m *TLPerSetRouterTable) Unmarshal(dAtA []byte) error
func (*TLPerSetRouterTable) XXX_DiscardUnknown ¶
func (m *TLPerSetRouterTable) XXX_DiscardUnknown()
func (*TLPerSetRouterTable) XXX_Marshal ¶
func (m *TLPerSetRouterTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLPerSetRouterTable) XXX_Merge ¶
func (m *TLPerSetRouterTable) XXX_Merge(src proto.Message)
func (*TLPerSetRouterTable) XXX_Size ¶
func (m *TLPerSetRouterTable) XXX_Size() int
func (*TLPerSetRouterTable) XXX_Unmarshal ¶
func (m *TLPerSetRouterTable) XXX_Unmarshal(b []byte) error
type TLRangeId ¶
type TLRangeId struct { Data2 *RangeId `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TLRangeId) CalcByteSize ¶
func (*TLRangeId) DebugString ¶
func (*TLRangeId) Descriptor ¶
func (*TLRangeId) GetIdBegin ¶
func (*TLRangeId) GetPredicateName ¶
func (*TLRangeId) MarshalToSizedBuffer ¶
func (*TLRangeId) ProtoMessage ¶
func (*TLRangeId) ProtoMessage()
func (*TLRangeId) SetIdBegin ¶
func (*TLRangeId) To_RangeId ¶
func (*TLRangeId) XXX_DiscardUnknown ¶
func (m *TLRangeId) XXX_DiscardUnknown()
func (*TLRangeId) XXX_Marshal ¶
func (*TLRangeId) XXX_Unmarshal ¶
type TLRouter ¶
type TLRouter struct { Data2 *Router `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TLRouter) CalcByteSize ¶
func (*TLRouter) DebugString ¶
func (*TLRouter) Descriptor ¶
func (*TLRouter) GetNodeList ¶
func (m *TLRouter) GetNodeList() []*RouterNode
func (*TLRouter) GetPredicateName ¶
func (*TLRouter) GetVersion ¶
func (*TLRouter) MarshalToSizedBuffer ¶
func (*TLRouter) ProtoMessage ¶
func (*TLRouter) ProtoMessage()
func (*TLRouter) SetNodeList ¶
func (m *TLRouter) SetNodeList(v []*RouterNode)
func (*TLRouter) SetVersion ¶
func (*TLRouter) XXX_DiscardUnknown ¶
func (m *TLRouter) XXX_DiscardUnknown()
func (*TLRouter) XXX_Marshal ¶
func (*TLRouter) XXX_Unmarshal ¶
type TLRouterNode ¶
type TLRouterNode struct { Data2 *RouterNode `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TLRouterNode) CalcByteSize ¶
func (m *TLRouterNode) CalcByteSize(layer int32) int
func (*TLRouterNode) DebugString ¶
func (m *TLRouterNode) DebugString() string
func (*TLRouterNode) Decode ¶
func (m *TLRouterNode) Decode(dBuf *DecodeBuf) error
func (*TLRouterNode) Descriptor ¶
func (*TLRouterNode) Descriptor() ([]byte, []int)
func (*TLRouterNode) Encode ¶
func (m *TLRouterNode) Encode(layer int32) []byte
func (*TLRouterNode) GetData2 ¶
func (m *TLRouterNode) GetData2() *RouterNode
func (*TLRouterNode) GetNodeAddr ¶
func (m *TLRouterNode) GetNodeAddr() *NodeAddrInfo
func (*TLRouterNode) GetPredicateName ¶
func (m *TLRouterNode) GetPredicateName() string
func (*TLRouterNode) GetSectionRanges ¶
func (m *TLRouterNode) GetSectionRanges() []*RangeId
func (*TLRouterNode) GoString ¶
func (this *TLRouterNode) GoString() string
func (*TLRouterNode) Marshal ¶
func (m *TLRouterNode) Marshal() (dAtA []byte, err error)
func (*TLRouterNode) MarshalToSizedBuffer ¶
func (m *TLRouterNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLRouterNode) ProtoMessage ¶
func (*TLRouterNode) ProtoMessage()
func (*TLRouterNode) Reset ¶
func (m *TLRouterNode) Reset()
func (*TLRouterNode) SetNodeAddr ¶
func (m *TLRouterNode) SetNodeAddr(v *NodeAddrInfo)
func (*TLRouterNode) SetSectionRanges ¶
func (m *TLRouterNode) SetSectionRanges(v []*RangeId)
func (*TLRouterNode) Size ¶
func (m *TLRouterNode) Size() (n int)
func (*TLRouterNode) String ¶
func (m *TLRouterNode) String() string
func (*TLRouterNode) To_RouterNode ¶
func (m *TLRouterNode) To_RouterNode() *RouterNode
func (*TLRouterNode) Unmarshal ¶
func (m *TLRouterNode) Unmarshal(dAtA []byte) error
func (*TLRouterNode) XXX_DiscardUnknown ¶
func (m *TLRouterNode) XXX_DiscardUnknown()
func (*TLRouterNode) XXX_Marshal ¶
func (m *TLRouterNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLRouterNode) XXX_Merge ¶
func (m *TLRouterNode) XXX_Merge(src proto.Message)
func (*TLRouterNode) XXX_Size ¶
func (m *TLRouterNode) XXX_Size() int
func (*TLRouterNode) XXX_Unmarshal ¶
func (m *TLRouterNode) XXX_Unmarshal(b []byte) error
type TLSequence ¶
type TLSequence struct { Data2 *Sequence `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TLSequence) CalcByteSize ¶
func (m *TLSequence) CalcByteSize(layer int32) int
func (*TLSequence) DebugString ¶
func (m *TLSequence) DebugString() string
func (*TLSequence) Decode ¶
func (m *TLSequence) Decode(dBuf *DecodeBuf) error
func (*TLSequence) Descriptor ¶
func (*TLSequence) Descriptor() ([]byte, []int)
func (*TLSequence) Encode ¶
func (m *TLSequence) Encode(layer int32) []byte
func (*TLSequence) GetData2 ¶
func (m *TLSequence) GetData2() *Sequence
func (*TLSequence) GetPredicateName ¶
func (m *TLSequence) GetPredicateName() string
func (*TLSequence) GetRouter ¶
func (m *TLSequence) GetRouter() *Router
func (*TLSequence) GetSeq ¶
func (m *TLSequence) GetSeq() int64
func (*TLSequence) GoString ¶
func (this *TLSequence) GoString() string
func (*TLSequence) Marshal ¶
func (m *TLSequence) Marshal() (dAtA []byte, err error)
func (*TLSequence) MarshalToSizedBuffer ¶
func (m *TLSequence) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLSequence) ProtoMessage ¶
func (*TLSequence) ProtoMessage()
func (*TLSequence) Reset ¶
func (m *TLSequence) Reset()
func (*TLSequence) SetRouter ¶
func (m *TLSequence) SetRouter(v *Router)
func (*TLSequence) SetSeq ¶
func (m *TLSequence) SetSeq(v int64)
func (*TLSequence) Size ¶
func (m *TLSequence) Size() (n int)
func (*TLSequence) String ¶
func (m *TLSequence) String() string
func (*TLSequence) To_Sequence ¶
func (m *TLSequence) To_Sequence() *Sequence
func (*TLSequence) Unmarshal ¶
func (m *TLSequence) Unmarshal(dAtA []byte) error
func (*TLSequence) XXX_DiscardUnknown ¶
func (m *TLSequence) XXX_DiscardUnknown()
func (*TLSequence) XXX_Marshal ¶
func (m *TLSequence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLSequence) XXX_Merge ¶
func (m *TLSequence) XXX_Merge(src proto.Message)
func (*TLSequence) XXX_Size ¶
func (m *TLSequence) XXX_Size() int
func (*TLSequence) XXX_Unmarshal ¶
func (m *TLSequence) XXX_Unmarshal(b []byte) error
type TLSetNodeInfo ¶
type TLSetNodeInfo struct { Data2 *SetNodeInfo `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func MakeTLSetNodeInfo ¶
func MakeTLSetNodeInfo(data2 *SetNodeInfo) *TLSetNodeInfo
MakeTLSetNodeInfo
func (*TLSetNodeInfo) CalcByteSize ¶
func (m *TLSetNodeInfo) CalcByteSize(layer int32) int
func (*TLSetNodeInfo) DebugString ¶
func (m *TLSetNodeInfo) DebugString() string
func (*TLSetNodeInfo) Decode ¶
func (m *TLSetNodeInfo) Decode(dBuf *DecodeBuf) error
func (*TLSetNodeInfo) Descriptor ¶
func (*TLSetNodeInfo) Descriptor() ([]byte, []int)
func (*TLSetNodeInfo) Encode ¶
func (m *TLSetNodeInfo) Encode(layer int32) []byte
func (*TLSetNodeInfo) GetData2 ¶
func (m *TLSetNodeInfo) GetData2() *SetNodeInfo
func (*TLSetNodeInfo) GetNodeAddr ¶
func (m *TLSetNodeInfo) GetNodeAddr() *NodeAddrInfo
func (*TLSetNodeInfo) GetPredicateName ¶
func (m *TLSetNodeInfo) GetPredicateName() string
func (*TLSetNodeInfo) GetSetId ¶
func (m *TLSetNodeInfo) GetSetId() *RangeId
func (*TLSetNodeInfo) GoString ¶
func (this *TLSetNodeInfo) GoString() string
func (*TLSetNodeInfo) Marshal ¶
func (m *TLSetNodeInfo) Marshal() (dAtA []byte, err error)
func (*TLSetNodeInfo) MarshalToSizedBuffer ¶
func (m *TLSetNodeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLSetNodeInfo) ProtoMessage ¶
func (*TLSetNodeInfo) ProtoMessage()
func (*TLSetNodeInfo) Reset ¶
func (m *TLSetNodeInfo) Reset()
func (*TLSetNodeInfo) SetNodeAddr ¶
func (m *TLSetNodeInfo) SetNodeAddr(v *NodeAddrInfo)
func (*TLSetNodeInfo) SetSetId ¶
func (m *TLSetNodeInfo) SetSetId(v *RangeId)
func (*TLSetNodeInfo) Size ¶
func (m *TLSetNodeInfo) Size() (n int)
func (*TLSetNodeInfo) String ¶
func (m *TLSetNodeInfo) String() string
func (*TLSetNodeInfo) To_SetNodeInfo ¶
func (m *TLSetNodeInfo) To_SetNodeInfo() *SetNodeInfo
func (*TLSetNodeInfo) Unmarshal ¶
func (m *TLSetNodeInfo) Unmarshal(dAtA []byte) error
func (*TLSetNodeInfo) XXX_DiscardUnknown ¶
func (m *TLSetNodeInfo) XXX_DiscardUnknown()
func (*TLSetNodeInfo) XXX_Marshal ¶
func (m *TLSetNodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLSetNodeInfo) XXX_Merge ¶
func (m *TLSetNodeInfo) XXX_Merge(src proto.Message)
func (*TLSetNodeInfo) XXX_Size ¶
func (m *TLSetNodeInfo) XXX_Size() int
func (*TLSetNodeInfo) XXX_Unmarshal ¶
func (m *TLSetNodeInfo) XXX_Unmarshal(b []byte) error
type TLSetNodeInfoList ¶
type TLSetNodeInfoList struct { Data2 *SetNodeInfoList `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func MakeTLSetNodeInfoList ¶
func MakeTLSetNodeInfoList(data2 *SetNodeInfoList) *TLSetNodeInfoList
MakeTLSetNodeInfoList
func (*TLSetNodeInfoList) CalcByteSize ¶
func (m *TLSetNodeInfoList) CalcByteSize(layer int32) int
func (*TLSetNodeInfoList) DebugString ¶
func (m *TLSetNodeInfoList) DebugString() string
func (*TLSetNodeInfoList) Decode ¶
func (m *TLSetNodeInfoList) Decode(dBuf *DecodeBuf) error
func (*TLSetNodeInfoList) Descriptor ¶
func (*TLSetNodeInfoList) Descriptor() ([]byte, []int)
func (*TLSetNodeInfoList) Encode ¶
func (m *TLSetNodeInfoList) Encode(layer int32) []byte
func (*TLSetNodeInfoList) GetData2 ¶
func (m *TLSetNodeInfoList) GetData2() *SetNodeInfoList
func (*TLSetNodeInfoList) GetNodeAddrs ¶
func (m *TLSetNodeInfoList) GetNodeAddrs() []*NodeAddrInfo
func (*TLSetNodeInfoList) GetPredicateName ¶
func (m *TLSetNodeInfoList) GetPredicateName() string
func (*TLSetNodeInfoList) GetSetId ¶
func (m *TLSetNodeInfoList) GetSetId() *RangeId
func (*TLSetNodeInfoList) GoString ¶
func (this *TLSetNodeInfoList) GoString() string
func (*TLSetNodeInfoList) Marshal ¶
func (m *TLSetNodeInfoList) Marshal() (dAtA []byte, err error)
func (*TLSetNodeInfoList) MarshalTo ¶
func (m *TLSetNodeInfoList) MarshalTo(dAtA []byte) (int, error)
func (*TLSetNodeInfoList) MarshalToSizedBuffer ¶
func (m *TLSetNodeInfoList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLSetNodeInfoList) ProtoMessage ¶
func (*TLSetNodeInfoList) ProtoMessage()
func (*TLSetNodeInfoList) Reset ¶
func (m *TLSetNodeInfoList) Reset()
func (*TLSetNodeInfoList) SetNodeAddrs ¶
func (m *TLSetNodeInfoList) SetNodeAddrs(v []*NodeAddrInfo)
func (*TLSetNodeInfoList) SetSetId ¶
func (m *TLSetNodeInfoList) SetSetId(v *RangeId)
func (*TLSetNodeInfoList) Size ¶
func (m *TLSetNodeInfoList) Size() (n int)
func (*TLSetNodeInfoList) String ¶
func (m *TLSetNodeInfoList) String() string
func (*TLSetNodeInfoList) To_SetNodeInfoList ¶
func (m *TLSetNodeInfoList) To_SetNodeInfoList() *SetNodeInfoList
func (*TLSetNodeInfoList) Unmarshal ¶
func (m *TLSetNodeInfoList) Unmarshal(dAtA []byte) error
func (*TLSetNodeInfoList) XXX_DiscardUnknown ¶
func (m *TLSetNodeInfoList) XXX_DiscardUnknown()
func (*TLSetNodeInfoList) XXX_Marshal ¶
func (m *TLSetNodeInfoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLSetNodeInfoList) XXX_Merge ¶
func (m *TLSetNodeInfoList) XXX_Merge(src proto.Message)
func (*TLSetNodeInfoList) XXX_Size ¶
func (m *TLSetNodeInfoList) XXX_Size() int
func (*TLSetNodeInfoList) XXX_Unmarshal ¶
func (m *TLSetNodeInfoList) XXX_Unmarshal(b []byte) error
type TLStoreLoadMaxSeqsData ¶
type TLStoreLoadMaxSeqsData struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=seqsvr.TLConstructor" json:"constructor,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLStoreLoadMaxSeqsData) CalcByteSize ¶
func (m *TLStoreLoadMaxSeqsData) CalcByteSize(layer int32) int
func (*TLStoreLoadMaxSeqsData) DebugString ¶
func (m *TLStoreLoadMaxSeqsData) DebugString() string
func (*TLStoreLoadMaxSeqsData) Decode ¶
func (m *TLStoreLoadMaxSeqsData) Decode(dBuf *DecodeBuf) error
func (*TLStoreLoadMaxSeqsData) Descriptor ¶
func (*TLStoreLoadMaxSeqsData) Descriptor() ([]byte, []int)
func (*TLStoreLoadMaxSeqsData) Encode ¶
func (m *TLStoreLoadMaxSeqsData) Encode(layer int32) []byte
func (*TLStoreLoadMaxSeqsData) GetConstructor ¶
func (m *TLStoreLoadMaxSeqsData) GetConstructor() TLConstructor
func (*TLStoreLoadMaxSeqsData) GoString ¶
func (this *TLStoreLoadMaxSeqsData) GoString() string
func (*TLStoreLoadMaxSeqsData) Marshal ¶
func (m *TLStoreLoadMaxSeqsData) Marshal() (dAtA []byte, err error)
func (*TLStoreLoadMaxSeqsData) MarshalTo ¶
func (m *TLStoreLoadMaxSeqsData) MarshalTo(dAtA []byte) (int, error)
func (*TLStoreLoadMaxSeqsData) MarshalToSizedBuffer ¶
func (m *TLStoreLoadMaxSeqsData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLStoreLoadMaxSeqsData) ProtoMessage ¶
func (*TLStoreLoadMaxSeqsData) ProtoMessage()
func (*TLStoreLoadMaxSeqsData) Reset ¶
func (m *TLStoreLoadMaxSeqsData) Reset()
func (*TLStoreLoadMaxSeqsData) Size ¶
func (m *TLStoreLoadMaxSeqsData) Size() (n int)
func (*TLStoreLoadMaxSeqsData) String ¶
func (m *TLStoreLoadMaxSeqsData) String() string
func (*TLStoreLoadMaxSeqsData) Unmarshal ¶
func (m *TLStoreLoadMaxSeqsData) Unmarshal(dAtA []byte) error
func (*TLStoreLoadMaxSeqsData) XXX_DiscardUnknown ¶
func (m *TLStoreLoadMaxSeqsData) XXX_DiscardUnknown()
func (*TLStoreLoadMaxSeqsData) XXX_Marshal ¶
func (m *TLStoreLoadMaxSeqsData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLStoreLoadMaxSeqsData) XXX_Merge ¶
func (m *TLStoreLoadMaxSeqsData) XXX_Merge(src proto.Message)
func (*TLStoreLoadMaxSeqsData) XXX_Size ¶
func (m *TLStoreLoadMaxSeqsData) XXX_Size() int
func (*TLStoreLoadMaxSeqsData) XXX_Unmarshal ¶
func (m *TLStoreLoadMaxSeqsData) XXX_Unmarshal(b []byte) error
type TLStoreLoadRouteTable ¶
type TLStoreLoadRouteTable struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=seqsvr.TLConstructor" json:"constructor,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLStoreLoadRouteTable) CalcByteSize ¶
func (m *TLStoreLoadRouteTable) CalcByteSize(layer int32) int
func (*TLStoreLoadRouteTable) DebugString ¶
func (m *TLStoreLoadRouteTable) DebugString() string
func (*TLStoreLoadRouteTable) Decode ¶
func (m *TLStoreLoadRouteTable) Decode(dBuf *DecodeBuf) error
func (*TLStoreLoadRouteTable) Descriptor ¶
func (*TLStoreLoadRouteTable) Descriptor() ([]byte, []int)
func (*TLStoreLoadRouteTable) Encode ¶
func (m *TLStoreLoadRouteTable) Encode(layer int32) []byte
func (*TLStoreLoadRouteTable) GetConstructor ¶
func (m *TLStoreLoadRouteTable) GetConstructor() TLConstructor
func (*TLStoreLoadRouteTable) GoString ¶
func (this *TLStoreLoadRouteTable) GoString() string
func (*TLStoreLoadRouteTable) Marshal ¶
func (m *TLStoreLoadRouteTable) Marshal() (dAtA []byte, err error)
func (*TLStoreLoadRouteTable) MarshalTo ¶
func (m *TLStoreLoadRouteTable) MarshalTo(dAtA []byte) (int, error)
func (*TLStoreLoadRouteTable) MarshalToSizedBuffer ¶
func (m *TLStoreLoadRouteTable) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLStoreLoadRouteTable) ProtoMessage ¶
func (*TLStoreLoadRouteTable) ProtoMessage()
func (*TLStoreLoadRouteTable) Reset ¶
func (m *TLStoreLoadRouteTable) Reset()
func (*TLStoreLoadRouteTable) Size ¶
func (m *TLStoreLoadRouteTable) Size() (n int)
func (*TLStoreLoadRouteTable) String ¶
func (m *TLStoreLoadRouteTable) String() string
func (*TLStoreLoadRouteTable) Unmarshal ¶
func (m *TLStoreLoadRouteTable) Unmarshal(dAtA []byte) error
func (*TLStoreLoadRouteTable) XXX_DiscardUnknown ¶
func (m *TLStoreLoadRouteTable) XXX_DiscardUnknown()
func (*TLStoreLoadRouteTable) XXX_Marshal ¶
func (m *TLStoreLoadRouteTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLStoreLoadRouteTable) XXX_Merge ¶
func (m *TLStoreLoadRouteTable) XXX_Merge(src proto.Message)
func (*TLStoreLoadRouteTable) XXX_Size ¶
func (m *TLStoreLoadRouteTable) XXX_Size() int
func (*TLStoreLoadRouteTable) XXX_Unmarshal ¶
func (m *TLStoreLoadRouteTable) XXX_Unmarshal(b []byte) error
type TLStoreSaveMaxSeq ¶
type TLStoreSaveMaxSeq struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=seqsvr.TLConstructor" json:"constructor,omitempty"` Id int32 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` MaxSeq int64 `protobuf:"varint,4,opt,name=max_seq,json=maxSeq,proto3" json:"max_seq,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLStoreSaveMaxSeq) CalcByteSize ¶
func (m *TLStoreSaveMaxSeq) CalcByteSize(layer int32) int
func (*TLStoreSaveMaxSeq) DebugString ¶
func (m *TLStoreSaveMaxSeq) DebugString() string
func (*TLStoreSaveMaxSeq) Decode ¶
func (m *TLStoreSaveMaxSeq) Decode(dBuf *DecodeBuf) error
func (*TLStoreSaveMaxSeq) Descriptor ¶
func (*TLStoreSaveMaxSeq) Descriptor() ([]byte, []int)
func (*TLStoreSaveMaxSeq) Encode ¶
func (m *TLStoreSaveMaxSeq) Encode(layer int32) []byte
func (*TLStoreSaveMaxSeq) GetConstructor ¶
func (m *TLStoreSaveMaxSeq) GetConstructor() TLConstructor
func (*TLStoreSaveMaxSeq) GetId ¶
func (m *TLStoreSaveMaxSeq) GetId() int32
func (*TLStoreSaveMaxSeq) GetMaxSeq ¶
func (m *TLStoreSaveMaxSeq) GetMaxSeq() int64
func (*TLStoreSaveMaxSeq) GoString ¶
func (this *TLStoreSaveMaxSeq) GoString() string
func (*TLStoreSaveMaxSeq) Marshal ¶
func (m *TLStoreSaveMaxSeq) Marshal() (dAtA []byte, err error)
func (*TLStoreSaveMaxSeq) MarshalTo ¶
func (m *TLStoreSaveMaxSeq) MarshalTo(dAtA []byte) (int, error)
func (*TLStoreSaveMaxSeq) MarshalToSizedBuffer ¶
func (m *TLStoreSaveMaxSeq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLStoreSaveMaxSeq) ProtoMessage ¶
func (*TLStoreSaveMaxSeq) ProtoMessage()
func (*TLStoreSaveMaxSeq) Reset ¶
func (m *TLStoreSaveMaxSeq) Reset()
func (*TLStoreSaveMaxSeq) Size ¶
func (m *TLStoreSaveMaxSeq) Size() (n int)
func (*TLStoreSaveMaxSeq) String ¶
func (m *TLStoreSaveMaxSeq) String() string
func (*TLStoreSaveMaxSeq) Unmarshal ¶
func (m *TLStoreSaveMaxSeq) Unmarshal(dAtA []byte) error
func (*TLStoreSaveMaxSeq) XXX_DiscardUnknown ¶
func (m *TLStoreSaveMaxSeq) XXX_DiscardUnknown()
func (*TLStoreSaveMaxSeq) XXX_Marshal ¶
func (m *TLStoreSaveMaxSeq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLStoreSaveMaxSeq) XXX_Merge ¶
func (m *TLStoreSaveMaxSeq) XXX_Merge(src proto.Message)
func (*TLStoreSaveMaxSeq) XXX_Size ¶
func (m *TLStoreSaveMaxSeq) XXX_Size() int
func (*TLStoreSaveMaxSeq) XXX_Unmarshal ¶
func (m *TLStoreSaveMaxSeq) XXX_Unmarshal(b []byte) error
type TLStoreSaveRouteTable ¶
type TLStoreSaveRouteTable struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=seqsvr.TLConstructor" json:"constructor,omitempty"` Router *Router `protobuf:"bytes,3,opt,name=router,proto3" json:"router,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLStoreSaveRouteTable) CalcByteSize ¶
func (m *TLStoreSaveRouteTable) CalcByteSize(layer int32) int
func (*TLStoreSaveRouteTable) DebugString ¶
func (m *TLStoreSaveRouteTable) DebugString() string
func (*TLStoreSaveRouteTable) Decode ¶
func (m *TLStoreSaveRouteTable) Decode(dBuf *DecodeBuf) error
func (*TLStoreSaveRouteTable) Descriptor ¶
func (*TLStoreSaveRouteTable) Descriptor() ([]byte, []int)
func (*TLStoreSaveRouteTable) Encode ¶
func (m *TLStoreSaveRouteTable) Encode(layer int32) []byte
func (*TLStoreSaveRouteTable) GetConstructor ¶
func (m *TLStoreSaveRouteTable) GetConstructor() TLConstructor
func (*TLStoreSaveRouteTable) GetRouter ¶
func (m *TLStoreSaveRouteTable) GetRouter() *Router
func (*TLStoreSaveRouteTable) GoString ¶
func (this *TLStoreSaveRouteTable) GoString() string
func (*TLStoreSaveRouteTable) Marshal ¶
func (m *TLStoreSaveRouteTable) Marshal() (dAtA []byte, err error)
func (*TLStoreSaveRouteTable) MarshalTo ¶
func (m *TLStoreSaveRouteTable) MarshalTo(dAtA []byte) (int, error)
func (*TLStoreSaveRouteTable) MarshalToSizedBuffer ¶
func (m *TLStoreSaveRouteTable) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLStoreSaveRouteTable) ProtoMessage ¶
func (*TLStoreSaveRouteTable) ProtoMessage()
func (*TLStoreSaveRouteTable) Reset ¶
func (m *TLStoreSaveRouteTable) Reset()
func (*TLStoreSaveRouteTable) Size ¶
func (m *TLStoreSaveRouteTable) Size() (n int)
func (*TLStoreSaveRouteTable) String ¶
func (m *TLStoreSaveRouteTable) String() string
func (*TLStoreSaveRouteTable) Unmarshal ¶
func (m *TLStoreSaveRouteTable) Unmarshal(dAtA []byte) error
func (*TLStoreSaveRouteTable) XXX_DiscardUnknown ¶
func (m *TLStoreSaveRouteTable) XXX_DiscardUnknown()
func (*TLStoreSaveRouteTable) XXX_Marshal ¶
func (m *TLStoreSaveRouteTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLStoreSaveRouteTable) XXX_Merge ¶
func (m *TLStoreSaveRouteTable) XXX_Merge(src proto.Message)
func (*TLStoreSaveRouteTable) XXX_Size ¶
func (m *TLStoreSaveRouteTable) XXX_Size() int
func (*TLStoreSaveRouteTable) XXX_Unmarshal ¶
func (m *TLStoreSaveRouteTable) XXX_Unmarshal(b []byte) error
type TLVoid ¶
type TLVoid struct { Data2 *Void2 `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TLVoid) CalcByteSize ¶
func (*TLVoid) DebugString ¶
func (*TLVoid) Descriptor ¶
func (*TLVoid) GetPredicateName ¶
func (*TLVoid) MarshalToSizedBuffer ¶
func (*TLVoid) ProtoMessage ¶
func (*TLVoid) ProtoMessage()
func (*TLVoid) XXX_DiscardUnknown ¶
func (m *TLVoid) XXX_DiscardUnknown()
func (*TLVoid) XXX_Marshal ¶
func (*TLVoid) XXX_Unmarshal ¶
type UnimplementedRPCAllocServer ¶
type UnimplementedRPCAllocServer struct { }
UnimplementedRPCAllocServer can be embedded to have forward compatible implementations.
func (*UnimplementedRPCAllocServer) AllocFetchNextSequence ¶
func (*UnimplementedRPCAllocServer) AllocFetchNextSequence(ctx context.Context, req *TLAllocFetchNextSequence) (*Sequence, error)
func (*UnimplementedRPCAllocServer) AllocGetCurrentSequence ¶
func (*UnimplementedRPCAllocServer) AllocGetCurrentSequence(ctx context.Context, req *TLAllocGetCurrentSequence) (*Sequence, error)
type UnimplementedRPCMediateServer ¶
type UnimplementedRPCMediateServer struct { }
UnimplementedRPCMediateServer can be embedded to have forward compatible implementations.
func (*UnimplementedRPCMediateServer) MediateRegisterAllocSvr ¶
func (*UnimplementedRPCMediateServer) MediateRegisterAllocSvr(ctx context.Context, req *TLMediateRegisterAllocSvr) (*Bool2, error)
func (*UnimplementedRPCMediateServer) MediateUnRegisterAllocSvr ¶
func (*UnimplementedRPCMediateServer) MediateUnRegisterAllocSvr(ctx context.Context, req *TLMediateUnRegisterAllocSvr) (*Bool2, error)
type UnimplementedRPCStoreServer ¶
type UnimplementedRPCStoreServer struct { }
UnimplementedRPCStoreServer can be embedded to have forward compatible implementations.
func (*UnimplementedRPCStoreServer) StoreLoadMaxSeqsData ¶
func (*UnimplementedRPCStoreServer) StoreLoadMaxSeqsData(ctx context.Context, req *TLStoreLoadMaxSeqsData) (*MaxSeqsData, error)
func (*UnimplementedRPCStoreServer) StoreLoadRouteTable ¶
func (*UnimplementedRPCStoreServer) StoreLoadRouteTable(ctx context.Context, req *TLStoreLoadRouteTable) (*Router, error)
func (*UnimplementedRPCStoreServer) StoreSaveMaxSeq ¶
func (*UnimplementedRPCStoreServer) StoreSaveMaxSeq(ctx context.Context, req *TLStoreSaveMaxSeq) (*Int64V, error)
func (*UnimplementedRPCStoreServer) StoreSaveRouteTable ¶
func (*UnimplementedRPCStoreServer) StoreSaveRouteTable(ctx context.Context, req *TLStoreSaveRouteTable) (*Bool2, error)
type Void2 ¶
type Void2 struct { PredicateName string `protobuf:"bytes,1,opt,name=predicate_name,json=predicateName,proto3" json:"predicate_name,omitempty"` Constructor TLConstructor `protobuf:"varint,2,opt,name=constructor,proto3,enum=seqsvr.TLConstructor" json:"constructor,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Void2 <--
- TL_void
func (*Void2) CalcByteSize ¶
func (*Void2) DebugString ¶
func (*Void2) Descriptor ¶
func (*Void2) GetConstructor ¶
func (m *Void2) GetConstructor() TLConstructor
func (*Void2) GetPredicateName ¶
func (*Void2) ProtoMessage ¶
func (*Void2) ProtoMessage()
func (*Void2) XXX_DiscardUnknown ¶
func (m *Void2) XXX_DiscardUnknown()