Documentation ¶
Index ¶
- Constants
- type C2S
- func (*C2S) Descriptor() ([]byte, []int)
- func (m *C2S) GetUserID() uint64
- func (*C2S) ProtoMessage()
- func (m *C2S) Reset()
- func (m *C2S) String() string
- func (m *C2S) XXX_DiscardUnknown()
- func (m *C2S) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *C2S) XXX_Merge(src proto.Message)
- func (m *C2S) XXX_Size() int
- func (m *C2S) XXX_Unmarshal(b []byte) error
- type Request
- func (*Request) Descriptor() ([]byte, []int)
- func (m *Request) GetC2S() *C2S
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) String() string
- func (m *Request) XXX_DiscardUnknown()
- func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Request) XXX_Merge(src proto.Message)
- func (m *Request) XXX_Size() int
- func (m *Request) XXX_Unmarshal(b []byte) error
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetErrCode() int32
- func (m *Response) GetRetMsg() string
- func (m *Response) GetRetType() int32
- func (m *Response) GetS2C() *S2C
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) String() string
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type S2C
- func (*S2C) Descriptor() ([]byte, []int)
- func (m *S2C) GetAccList() []*Trd_Common.TrdAcc
- func (*S2C) ProtoMessage()
- func (m *S2C) Reset()
- func (m *S2C) String() string
- func (m *S2C) XXX_DiscardUnknown()
- func (m *S2C) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *S2C) XXX_Merge(src proto.Message)
- func (m *S2C) XXX_Size() int
- func (m *S2C) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const Default_Response_RetType int32 = -400
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type C2S ¶
type C2S struct { UserID *uint64 `protobuf:"varint,1,req,name=userID" json:"userID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*C2S) Descriptor ¶
func (*C2S) ProtoMessage ¶
func (*C2S) ProtoMessage()
func (*C2S) XXX_DiscardUnknown ¶
func (m *C2S) XXX_DiscardUnknown()
func (*C2S) XXX_Unmarshal ¶
type Request ¶
type Request struct { C2S *C2S `protobuf:"bytes,1,req,name=c2s" json:"c2s,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Request) Descriptor ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) XXX_DiscardUnknown ¶
func (m *Request) XXX_DiscardUnknown()
func (*Request) XXX_Marshal ¶
func (*Request) XXX_Unmarshal ¶
type Response ¶
type Response struct { // 以下3个字段每条协议都有,注释说明在InitConnect.proto中 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_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Response) Descriptor ¶
func (*Response) GetErrCode ¶
func (*Response) GetRetType ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶
func (*Response) XXX_Unmarshal ¶
type S2C ¶
type S2C struct { AccList []*Trd_Common.TrdAcc `protobuf:"bytes,1,rep,name=accList" json:"accList,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*S2C) Descriptor ¶
func (*S2C) GetAccList ¶
func (m *S2C) GetAccList() []*Trd_Common.TrdAcc
func (*S2C) ProtoMessage ¶
func (*S2C) ProtoMessage()
func (*S2C) XXX_DiscardUnknown ¶
func (m *S2C) XXX_DiscardUnknown()
func (*S2C) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.