pb

package
v1.1.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package pb holds only Protocol Buffer definitions and generated code.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthHeaders        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowHeaders          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupHeaders = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Header struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (*Header) Descriptor

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

func (*Header) GetKey

func (m *Header) GetKey() string

func (*Header) GetValue

func (m *Header) GetValue() []byte

func (*Header) Marshal

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

func (*Header) MarshalTo

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

func (*Header) MarshalToSizedBuffer

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

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) Reset

func (m *Header) Reset()

func (*Header) Size

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

func (*Header) String

func (m *Header) String() string

func (*Header) Unmarshal

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

func (*Header) XXX_DiscardUnknown

func (m *Header) XXX_DiscardUnknown()

func (*Header) XXX_Marshal

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

func (*Header) XXX_Merge

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

func (*Header) XXX_Size

func (m *Header) XXX_Size() int

func (*Header) XXX_Unmarshal

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

type Headers

type Headers struct {
	Headers []*Header `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"`
}

func (*Headers) Descriptor

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

func (*Headers) GetHeaders

func (m *Headers) GetHeaders() []*Header

func (*Headers) Marshal

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

func (*Headers) MarshalTo

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

func (*Headers) MarshalToSizedBuffer

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

func (*Headers) ProtoMessage

func (*Headers) ProtoMessage()

func (*Headers) Reset

func (m *Headers) Reset()

func (*Headers) Size

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

func (*Headers) String

func (m *Headers) String() string

func (*Headers) Unmarshal

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

func (*Headers) XXX_DiscardUnknown

func (m *Headers) XXX_DiscardUnknown()

func (*Headers) XXX_Marshal

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

func (*Headers) XXX_Merge

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

func (*Headers) XXX_Size

func (m *Headers) XXX_Size() int

func (*Headers) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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