pb

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 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 HopAddress

type HopAddress 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"`
	Transaction []byte `protobuf:"bytes,4,opt,name=Transaction,proto3" json:"Transaction,omitempty"`
}

func (*HopAddress) Descriptor

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

func (*HopAddress) GetOverlay

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

func (*HopAddress) GetSignature

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

func (*HopAddress) GetTransaction

func (m *HopAddress) GetTransaction() []byte

func (*HopAddress) GetUnderlay

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

func (*HopAddress) Marshal

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

func (*HopAddress) MarshalTo

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

func (*HopAddress) MarshalToSizedBuffer

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

func (*HopAddress) ProtoMessage

func (*HopAddress) ProtoMessage()

func (*HopAddress) Reset

func (m *HopAddress) Reset()

func (*HopAddress) Size

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

func (*HopAddress) String

func (m *HopAddress) String() string

func (*HopAddress) Unmarshal

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

func (*HopAddress) XXX_DiscardUnknown

func (m *HopAddress) XXX_DiscardUnknown()

func (*HopAddress) XXX_Marshal

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

func (*HopAddress) XXX_Merge

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

func (*HopAddress) XXX_Size

func (m *HopAddress) XXX_Size() int

func (*HopAddress) XXX_Unmarshal

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

type Peers

type Peers struct {
	Peers []*HopAddress `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() []*HopAddress

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