payload

package
v5.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2018 License: Apache-2.0 Imports: 5 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoUnusedProtection__ int

Functions

This section is empty.

Types

type Payload

type Payload struct {
	Meta      []byte `thrift:"meta,1" db:"meta" json:"meta"`
	XferPipe  []byte `thrift:"xferPipe,2" db:"xferPipe" json:"xferPipe"`
	BodyCodec int32  `thrift:"bodyCodec,3" db:"bodyCodec" json:"bodyCodec"`
	Body      []byte `thrift:"body,4" db:"body" json:"body"`
}

Attributes:

  • Meta
  • XferPipe
  • BodyCodec
  • Body

func NewPayload

func NewPayload() *Payload

func (*Payload) GetBody

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

func (*Payload) GetBodyCodec

func (p *Payload) GetBodyCodec() int32

func (*Payload) GetMeta

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

func (*Payload) GetXferPipe

func (p *Payload) GetXferPipe() []byte

func (*Payload) Read

func (p *Payload) Read(iprot thrift.TProtocol) error

func (*Payload) ReadField1

func (p *Payload) ReadField1(iprot thrift.TProtocol) error

func (*Payload) ReadField2

func (p *Payload) ReadField2(iprot thrift.TProtocol) error

func (*Payload) ReadField3

func (p *Payload) ReadField3(iprot thrift.TProtocol) error

func (*Payload) ReadField4

func (p *Payload) ReadField4(iprot thrift.TProtocol) error

func (*Payload) String

func (p *Payload) String() string

func (*Payload) Write

func (p *Payload) Write(oprot thrift.TProtocol) error

Jump to

Keyboard shortcuts

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