pb

package
v4.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package pb is a generated protocol buffer package.

It is generated from these files:

payload.proto

It has these top-level messages:

Payload

Index

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       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"`
}

func (*Payload) Descriptor

func (*Payload) Descriptor() ([]byte, []int)

func (*Payload) GetBody

func (m *Payload) GetBody() []byte

func (*Payload) GetBodyCodec

func (m *Payload) GetBodyCodec() int32

func (*Payload) GetMeta

func (m *Payload) GetMeta() []byte

func (*Payload) GetPtype

func (m *Payload) GetPtype() int32

func (*Payload) GetSeq

func (m *Payload) GetSeq() string

func (*Payload) GetUri

func (m *Payload) GetUri() string

func (*Payload) Marshal

func (m *Payload) Marshal() (dAtA []byte, err error)

func (*Payload) MarshalTo

func (m *Payload) MarshalTo(dAtA []byte) (int, error)

func (*Payload) ProtoMessage

func (*Payload) ProtoMessage()

func (*Payload) Reset

func (m *Payload) Reset()

func (*Payload) Size

func (m *Payload) Size() (n int)

func (*Payload) String

func (m *Payload) String() string

func (*Payload) Unmarshal

func (m *Payload) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL