payload

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_payload_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Payload

type Payload struct {
	Id          uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ExpUnixNano int64  `protobuf:"varint,2,opt,name=exp_unix_nano,json=expUnixNano,proto3" json:"exp_unix_nano,omitempty"`
	Method      string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
	Data        []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	ErrType     uint32 `protobuf:"varint,5,opt,name=err_type,json=errType,proto3" json:"err_type,omitempty"`
	Err         string `protobuf:"bytes,6,opt,name=err,proto3" json:"err,omitempty"`
	// contains filtered or unexported fields
}

func (*Payload) Descriptor deprecated

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

Deprecated: Use Payload.ProtoReflect.Descriptor instead.

func (*Payload) GetData

func (x *Payload) GetData() []byte

func (*Payload) GetErr

func (x *Payload) GetErr() string

func (*Payload) GetErrType

func (x *Payload) GetErrType() uint32

func (*Payload) GetExpUnixNano

func (x *Payload) GetExpUnixNano() int64

func (*Payload) GetId

func (x *Payload) GetId() uint32

func (*Payload) GetMethod

func (x *Payload) GetMethod() string

func (*Payload) ProtoMessage

func (*Payload) ProtoMessage()

func (*Payload) ProtoReflect

func (x *Payload) ProtoReflect() protoreflect.Message

func (*Payload) Reset

func (x *Payload) Reset()

func (*Payload) String

func (x *Payload) String() string

Jump to

Keyboard shortcuts

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