Documentation ¶
Overview ¶
Package Qot_GetReference is a generated protocol buffer package.
It is generated from these files:
Qot_GetReference.proto
It has these top-level messages:
C2S S2C Request Response
Index ¶
Constants ¶
View Source
const Default_Response_RetType int32 = -400
Variables ¶
View Source
var ReferenceType_name = map[int32]string{
0: "ReferenceType_Unknow",
1: "ReferenceType_Warrant",
2: "ReferenceType_Future",
}
View Source
var ReferenceType_value = map[string]int32{
"ReferenceType_Unknow": 0,
"ReferenceType_Warrant": 1,
"ReferenceType_Future": 2,
}
Functions ¶
This section is empty.
Types ¶
type C2S ¶
type C2S struct { Security *Qot_Common.Security `protobuf:"bytes,1,req,name=security" json:"security,omitempty"` ReferenceType *int32 `protobuf:"varint,2,req,name=referenceType" json:"referenceType,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*C2S) Descriptor ¶
func (*C2S) GetReferenceType ¶
func (*C2S) GetSecurity ¶
func (m *C2S) GetSecurity() *Qot_Common.Security
func (*C2S) ProtoMessage ¶
func (*C2S) ProtoMessage()
type ReferenceType ¶
type ReferenceType int32
const ( ReferenceType_ReferenceType_Unknow ReferenceType = 0 ReferenceType_ReferenceType_Warrant ReferenceType = 1 ReferenceType_ReferenceType_Future ReferenceType = 2 )
func (ReferenceType) Enum ¶
func (x ReferenceType) Enum() *ReferenceType
func (ReferenceType) EnumDescriptor ¶
func (ReferenceType) EnumDescriptor() ([]byte, []int)
func (ReferenceType) String ¶
func (x ReferenceType) String() string
func (*ReferenceType) UnmarshalJSON ¶
func (x *ReferenceType) UnmarshalJSON(data []byte) error
type Request ¶
type Request struct { C2S *C2S `protobuf:"bytes,1,req,name=c2s" json:"c2s,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Request) Descriptor ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
type Response ¶
type Response struct { RetType *int32 `protobuf:"varint,1,req,name=retType,def=-400" json:"retType,omitempty"` RetMsg *string `protobuf:"bytes,2,opt,name=retMsg" json:"retMsg,omitempty"` ErrCode *int32 `protobuf:"varint,3,opt,name=errCode" json:"errCode,omitempty"` S2C *S2C `protobuf:"bytes,4,opt,name=s2c" json:"s2c,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Response) Descriptor ¶
func (*Response) GetErrCode ¶
func (*Response) GetRetType ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
type S2C ¶
type S2C struct { StaticInfoList []*Qot_Common.SecurityStaticInfo `protobuf:"bytes,2,rep,name=staticInfoList" json:"staticInfoList,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*S2C) Descriptor ¶
func (*S2C) GetStaticInfoList ¶
func (m *S2C) GetStaticInfoList() []*Qot_Common.SecurityStaticInfo
func (*S2C) ProtoMessage ¶
func (*S2C) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.