pb

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthRetrieval        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRetrieval          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRetrieval = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Delivery

type Delivery struct {
	Data  []byte `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"`
	Stamp []byte `protobuf:"bytes,2,opt,name=Stamp,proto3" json:"Stamp,omitempty"`
	Err   string `protobuf:"bytes,3,opt,name=Err,proto3" json:"Err,omitempty"`
}

func (*Delivery) Descriptor

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

func (*Delivery) GetData

func (m *Delivery) GetData() []byte

func (*Delivery) GetErr

func (m *Delivery) GetErr() string

func (*Delivery) GetStamp

func (m *Delivery) GetStamp() []byte

func (*Delivery) Marshal

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

func (*Delivery) MarshalTo

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

func (*Delivery) MarshalToSizedBuffer

func (m *Delivery) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Delivery) ProtoMessage

func (*Delivery) ProtoMessage()

func (*Delivery) Reset

func (m *Delivery) Reset()

func (*Delivery) Size

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

func (*Delivery) String

func (m *Delivery) String() string

func (*Delivery) Unmarshal

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

func (*Delivery) XXX_DiscardUnknown

func (m *Delivery) XXX_DiscardUnknown()

func (*Delivery) XXX_Marshal

func (m *Delivery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Delivery) XXX_Merge

func (m *Delivery) XXX_Merge(src proto.Message)

func (*Delivery) XXX_Size

func (m *Delivery) XXX_Size() int

func (*Delivery) XXX_Unmarshal

func (m *Delivery) XXX_Unmarshal(b []byte) error

type Request

type Request struct {
	Addr []byte `protobuf:"bytes,1,opt,name=Addr,proto3" json:"Addr,omitempty"`
}

func (*Request) Descriptor

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

func (*Request) GetAddr

func (m *Request) GetAddr() []byte

func (*Request) Marshal

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

func (*Request) MarshalTo

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

func (*Request) MarshalToSizedBuffer

func (m *Request) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) Size

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

func (*Request) String

func (m *Request) String() string

func (*Request) Unmarshal

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

func (*Request) XXX_DiscardUnknown

func (m *Request) XXX_DiscardUnknown()

func (*Request) XXX_Marshal

func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Request) XXX_Merge

func (m *Request) XXX_Merge(src proto.Message)

func (*Request) XXX_Size

func (m *Request) XXX_Size() int

func (*Request) XXX_Unmarshal

func (m *Request) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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