Documentation ¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
format.proto
It has these top-level messages:
Format
Index ¶
- Variables
- type Format
- func (*Format) Descriptor() ([]byte, []int)
- func (m *Format) GetBody() []byte
- func (m *Format) GetBodyCodec() int32
- func (m *Format) GetMeta() []byte
- func (m *Format) GetPtype() int32
- func (m *Format) GetSeq() string
- func (m *Format) GetUri() string
- func (m *Format) GetXferPipe() []byte
- func (m *Format) Marshal() (dAtA []byte, err error)
- func (m *Format) MarshalTo(dAtA []byte) (int, error)
- func (*Format) ProtoMessage()
- func (m *Format) Reset()
- func (m *Format) Size() (n int)
- func (m *Format) String() string
- func (m *Format) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthFormat = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowFormat = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Format ¶
type Format struct { Seq string `protobuf:"bytes,1,opt,name=seq,proto3" json:"seq,omitempty"` Ptype int32 `protobuf:"varint,2,opt,name=ptype,proto3" json:"ptype,omitempty"` Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"` Meta []byte `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"` BodyCodec int32 `protobuf:"varint,5,opt,name=body_codec,json=bodyCodec,proto3" json:"body_codec,omitempty"` Body []byte `protobuf:"bytes,6,opt,name=body,proto3" json:"body,omitempty"` XferPipe []byte `protobuf:"bytes,7,opt,name=xfer_pipe,json=xferPipe,proto3" json:"xfer_pipe,omitempty"` }
func (*Format) Descriptor ¶
func (*Format) GetBodyCodec ¶
func (*Format) GetXferPipe ¶
func (*Format) ProtoMessage ¶
func (*Format) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.