Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Platform_name = map[int32]string{ 0: "Platform_Nil", 1: "Platform_WX", 2: "Platform_WXGH", 3: "Platform_QQ", } Platform_value = map[string]int32{ "Platform_Nil": 0, "Platform_WX": 1, "Platform_WXGH": 2, "Platform_QQ": 3, } )
Enum value maps for Platform.
View Source
var ( Exception_name = map[int32]string{ 0: "Exception_Nil", 1: "Exception_IDCACHE_INIT_FALSE", 2: "Exception_KEY_NOT_EXISTS", 3: "Exception_TWO_SEGMENTS_ARE_NULL", } Exception_value = map[string]int32{ "Exception_Nil": 0, "Exception_IDCACHE_INIT_FALSE": 1, "Exception_KEY_NOT_EXISTS": 2, "Exception_TWO_SEGMENTS_ARE_NULL": 3, } )
Enum value maps for Exception.
View Source
var ( Status_name = map[int32]string{ 0: "Status_Success", 1: "Status_Exception", } Status_value = map[string]int32{ "Status_Success": 0, "Status_Exception": 1, } )
Enum value maps for Status.
View Source
var File_common_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type Exception ¶
type Exception int32
func (Exception) Descriptor ¶
func (Exception) Descriptor() protoreflect.EnumDescriptor
func (Exception) EnumDescriptor
deprecated
func (Exception) Number ¶
func (x Exception) Number() protoreflect.EnumNumber
func (Exception) Type ¶
func (Exception) Type() protoreflect.EnumType
type Platform ¶
type Platform int32
func (Platform) Descriptor ¶
func (Platform) Descriptor() protoreflect.EnumDescriptor
func (Platform) EnumDescriptor
deprecated
func (Platform) Number ¶
func (x Platform) Number() protoreflect.EnumNumber
func (Platform) Type ¶
func (Platform) Type() protoreflect.EnumType
type Result ¶
type Result struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=common.Status" json:"status,omitempty"` Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*Result) Descriptor
deprecated
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) ProtoReflect ¶
func (x *Result) ProtoReflect() protoreflect.Message
type SegmentKeyReq ¶
type SegmentKeyReq struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*SegmentKeyReq) Descriptor
deprecated
func (*SegmentKeyReq) Descriptor() ([]byte, []int)
Deprecated: Use SegmentKeyReq.ProtoReflect.Descriptor instead.
func (*SegmentKeyReq) GetKey ¶
func (x *SegmentKeyReq) GetKey() string
func (*SegmentKeyReq) ProtoMessage ¶
func (*SegmentKeyReq) ProtoMessage()
func (*SegmentKeyReq) ProtoReflect ¶
func (x *SegmentKeyReq) ProtoReflect() protoreflect.Message
func (*SegmentKeyReq) Reset ¶
func (x *SegmentKeyReq) Reset()
func (*SegmentKeyReq) String ¶
func (x *SegmentKeyReq) String() string
type Status ¶
type Status int32
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶
func (Status) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.