pb

package
v2.0.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 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 (
	ErrInvalidLengthHive        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowHive          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupHive = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type BzzAddress

type BzzAddress struct {
	Underlay  []byte `protobuf:"bytes,1,opt,name=Underlay,proto3" json:"Underlay,omitempty"`
	Signature []byte `protobuf:"bytes,2,opt,name=Signature,proto3" json:"Signature,omitempty"`
	Overlay   []byte `protobuf:"bytes,3,opt,name=Overlay,proto3" json:"Overlay,omitempty"`
	Nonce     []byte `protobuf:"bytes,4,opt,name=Nonce,proto3" json:"Nonce,omitempty"`
}

func (*BzzAddress) Descriptor

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

func (*BzzAddress) GetNonce

func (m *BzzAddress) GetNonce() []byte

func (*BzzAddress) GetOverlay

func (m *BzzAddress) GetOverlay() []byte

func (*BzzAddress) GetSignature

func (m *BzzAddress) GetSignature() []byte

func (*BzzAddress) GetUnderlay

func (m *BzzAddress) GetUnderlay() []byte

func (*BzzAddress) Marshal

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

func (*BzzAddress) MarshalTo

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

func (*BzzAddress) MarshalToSizedBuffer

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

func (*BzzAddress) ProtoMessage

func (*BzzAddress) ProtoMessage()

func (*BzzAddress) Reset

func (m *BzzAddress) Reset()

func (*BzzAddress) Size

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

func (*BzzAddress) String

func (m *BzzAddress) String() string

func (*BzzAddress) Unmarshal

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

func (*BzzAddress) XXX_DiscardUnknown

func (m *BzzAddress) XXX_DiscardUnknown()

func (*BzzAddress) XXX_Marshal

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

func (*BzzAddress) XXX_Merge

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

func (*BzzAddress) XXX_Size

func (m *BzzAddress) XXX_Size() int

func (*BzzAddress) XXX_Unmarshal

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

type Peers

type Peers struct {
	Peers []*BzzAddress `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"`
}

func (*Peers) Descriptor

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

func (*Peers) GetPeers

func (m *Peers) GetPeers() []*BzzAddress

func (*Peers) Marshal

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

func (*Peers) MarshalTo

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

func (*Peers) MarshalToSizedBuffer

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

func (*Peers) ProtoMessage

func (*Peers) ProtoMessage()

func (*Peers) Reset

func (m *Peers) Reset()

func (*Peers) Size

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

func (*Peers) String

func (m *Peers) String() string

func (*Peers) Unmarshal

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

func (*Peers) XXX_DiscardUnknown

func (m *Peers) XXX_DiscardUnknown()

func (*Peers) XXX_Marshal

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

func (*Peers) XXX_Merge

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

func (*Peers) XXX_Size

func (m *Peers) XXX_Size() int

func (*Peers) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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