Documentation ¶
Index ¶
- Variables
- type Payload
- func (*Payload) Descriptor() ([]byte, []int)
- func (m *Payload) GetBody() []byte
- func (m *Payload) GetBodyCodec() int32
- func (m *Payload) GetMeta() []byte
- func (m *Payload) GetMtype() int32
- func (m *Payload) GetSeq() int32
- func (m *Payload) GetServiceMethod() string
- func (m *Payload) Marshal() (dAtA []byte, err error)
- func (m *Payload) MarshalTo(dAtA []byte) (int, error)
- func (*Payload) ProtoMessage()
- func (m *Payload) Reset()
- func (m *Payload) Size() (n int)
- func (m *Payload) String() string
- func (m *Payload) Unmarshal(dAtA []byte) error
- func (m *Payload) XXX_DiscardUnknown()
- func (m *Payload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Payload) XXX_Merge(src proto.Message)
- func (m *Payload) XXX_Size() int
- func (m *Payload) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthPayload = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPayload = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Payload ¶
type Payload struct { Seq int32 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` Mtype int32 `protobuf:"varint,2,opt,name=mtype,proto3" json:"mtype,omitempty"` ServiceMethod string `protobuf:"bytes,3,opt,name=serviceMethod,proto3" json:"serviceMethod,omitempty"` Meta []byte `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"` BodyCodec int32 `protobuf:"varint,5,opt,name=bodyCodec,proto3" json:"bodyCodec,omitempty"` Body []byte `protobuf:"bytes,6,opt,name=body,proto3" json:"body,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Payload) Descriptor ¶
func (*Payload) GetBodyCodec ¶
func (*Payload) GetServiceMethod ¶
func (*Payload) ProtoMessage ¶
func (*Payload) ProtoMessage()
func (*Payload) XXX_DiscardUnknown ¶
func (m *Payload) XXX_DiscardUnknown()
func (*Payload) XXX_Marshal ¶
func (*Payload) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.