Documentation ¶
Index ¶
- type ReqPacket
- func (req *ReqPacket) Bytes() (res []byte)
- func (*ReqPacket) Descriptor() ([]byte, []int)
- func (m *ReqPacket) GetContent() []byte
- func (m *ReqPacket) GetFuncName() string
- func (m *ReqPacket) GetReqId() int32
- func (m *ReqPacket) GetServant() string
- func (m *ReqPacket) GetTimeout() int32
- func (m *ReqPacket) GetVersion() int32
- func (*ReqPacket) ProtoMessage()
- func (m *ReqPacket) Reset()
- func (m *ReqPacket) String() string
- func (m *ReqPacket) XXX_DiscardUnknown()
- func (m *ReqPacket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqPacket) XXX_Merge(src proto.Message)
- func (m *ReqPacket) XXX_Size() int
- func (m *ReqPacket) XXX_Unmarshal(b []byte) error
- type RspPacket
- func (rsp *RspPacket) Bytes() (res []byte)
- func (*RspPacket) Descriptor() ([]byte, []int)
- func (m *RspPacket) GetContent() []byte
- func (m *RspPacket) GetIsErr() bool
- func (m *RspPacket) GetReqId() int32
- func (m *RspPacket) GetResDesc() string
- func (m *RspPacket) GetVersion() int32
- func (*RspPacket) ProtoMessage()
- func (m *RspPacket) Reset()
- func (m *RspPacket) String() string
- func (m *RspPacket) XXX_DiscardUnknown()
- func (m *RspPacket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RspPacket) XXX_Merge(src proto.Message)
- func (m *RspPacket) XXX_Size() int
- func (m *RspPacket) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReqPacket ¶
type ReqPacket struct { Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` ReqId int32 `protobuf:"varint,2,opt,name=reqId,proto3" json:"reqId,omitempty"` FuncName string `protobuf:"bytes,3,opt,name=funcName,proto3" json:"funcName,omitempty"` Servant string `protobuf:"bytes,4,opt,name=servant,proto3" json:"servant,omitempty"` Content []byte `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` Timeout int32 `protobuf:"varint,6,opt,name=timeout,proto3" json:"timeout,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqPacket) Descriptor ¶
func (*ReqPacket) GetContent ¶
func (*ReqPacket) GetFuncName ¶
func (*ReqPacket) GetServant ¶
func (*ReqPacket) GetTimeout ¶
func (*ReqPacket) GetVersion ¶
func (*ReqPacket) ProtoMessage ¶
func (*ReqPacket) ProtoMessage()
func (*ReqPacket) XXX_DiscardUnknown ¶
func (m *ReqPacket) XXX_DiscardUnknown()
func (*ReqPacket) XXX_Marshal ¶
func (*ReqPacket) XXX_Unmarshal ¶
type RspPacket ¶
type RspPacket struct { Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` ReqId int32 `protobuf:"varint,2,opt,name=reqId,proto3" json:"reqId,omitempty"` Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` IsErr bool `protobuf:"varint,4,opt,name=isErr,proto3" json:"isErr,omitempty"` ResDesc string `protobuf:"bytes,5,opt,name=resDesc,proto3" json:"resDesc,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RspPacket) Descriptor ¶
func (*RspPacket) GetContent ¶
func (*RspPacket) GetResDesc ¶
func (*RspPacket) GetVersion ¶
func (*RspPacket) ProtoMessage ¶
func (*RspPacket) ProtoMessage()
func (*RspPacket) XXX_DiscardUnknown ¶
func (m *RspPacket) XXX_DiscardUnknown()
func (*RspPacket) XXX_Marshal ¶
func (*RspPacket) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.