pb

package
v1.18.2 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: BSD-3-Clause Imports: 5 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthPullsync        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPullsync          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPullsync = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Ack

type Ack struct {
	Cursors []uint64 `protobuf:"varint,1,rep,packed,name=Cursors,proto3" json:"Cursors,omitempty"`
	Epoch   uint64   `protobuf:"varint,2,opt,name=Epoch,proto3" json:"Epoch,omitempty"`
}

func (*Ack) Descriptor

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

func (*Ack) GetCursors

func (m *Ack) GetCursors() []uint64

func (*Ack) GetEpoch added in v1.17.4

func (m *Ack) GetEpoch() uint64

func (*Ack) Marshal

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

func (*Ack) MarshalTo

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

func (*Ack) MarshalToSizedBuffer

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

func (*Ack) ProtoMessage

func (*Ack) ProtoMessage()

func (*Ack) Reset

func (m *Ack) Reset()

func (*Ack) Size

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

func (*Ack) String

func (m *Ack) String() string

func (*Ack) Unmarshal

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

func (*Ack) XXX_DiscardUnknown

func (m *Ack) XXX_DiscardUnknown()

func (*Ack) XXX_Marshal

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

func (*Ack) XXX_Merge

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

func (*Ack) XXX_Size

func (m *Ack) XXX_Size() int

func (*Ack) XXX_Unmarshal

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

type Chunk added in v1.17.0

type Chunk struct {
	Address []byte `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"`
	BatchID []byte `protobuf:"bytes,2,opt,name=BatchID,proto3" json:"BatchID,omitempty"`
}

func (*Chunk) Descriptor added in v1.17.0

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

func (*Chunk) GetAddress added in v1.17.0

func (m *Chunk) GetAddress() []byte

func (*Chunk) GetBatchID added in v1.17.0

func (m *Chunk) GetBatchID() []byte

func (*Chunk) Marshal added in v1.17.0

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

func (*Chunk) MarshalTo added in v1.17.0

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

func (*Chunk) MarshalToSizedBuffer added in v1.17.0

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

func (*Chunk) ProtoMessage added in v1.17.0

func (*Chunk) ProtoMessage()

func (*Chunk) Reset added in v1.17.0

func (m *Chunk) Reset()

func (*Chunk) Size added in v1.17.0

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

func (*Chunk) String added in v1.17.0

func (m *Chunk) String() string

func (*Chunk) Unmarshal added in v1.17.0

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

func (*Chunk) XXX_DiscardUnknown added in v1.17.0

func (m *Chunk) XXX_DiscardUnknown()

func (*Chunk) XXX_Marshal added in v1.17.0

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

func (*Chunk) XXX_Merge added in v1.17.0

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

func (*Chunk) XXX_Size added in v1.17.0

func (m *Chunk) XXX_Size() int

func (*Chunk) XXX_Unmarshal added in v1.17.0

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

type Delivery

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

func (*Delivery) Descriptor

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

func (*Delivery) GetAddress

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

func (*Delivery) GetData

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

func (*Delivery) GetStamp added in v0.6.0

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 Get added in v1.17.0

type Get struct {
	Bin   int32  `protobuf:"varint,1,opt,name=Bin,proto3" json:"Bin,omitempty"`
	Start uint64 `protobuf:"varint,2,opt,name=Start,proto3" json:"Start,omitempty"`
}

func (*Get) Descriptor added in v1.17.0

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

func (*Get) GetBin added in v1.17.0

func (m *Get) GetBin() int32

func (*Get) GetStart added in v1.17.0

func (m *Get) GetStart() uint64

func (*Get) Marshal added in v1.17.0

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

func (*Get) MarshalTo added in v1.17.0

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

func (*Get) MarshalToSizedBuffer added in v1.17.0

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

func (*Get) ProtoMessage added in v1.17.0

func (*Get) ProtoMessage()

func (*Get) Reset added in v1.17.0

func (m *Get) Reset()

func (*Get) Size added in v1.17.0

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

func (*Get) String added in v1.17.0

func (m *Get) String() string

func (*Get) Unmarshal added in v1.17.0

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

func (*Get) XXX_DiscardUnknown added in v1.17.0

func (m *Get) XXX_DiscardUnknown()

func (*Get) XXX_Marshal added in v1.17.0

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

func (*Get) XXX_Merge added in v1.17.0

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

func (*Get) XXX_Size added in v1.17.0

func (m *Get) XXX_Size() int

func (*Get) XXX_Unmarshal added in v1.17.0

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

type Offer

type Offer struct {
	Topmost uint64   `protobuf:"varint,1,opt,name=Topmost,proto3" json:"Topmost,omitempty"`
	Chunks  []*Chunk `protobuf:"bytes,2,rep,name=Chunks,proto3" json:"Chunks,omitempty"`
}

func (*Offer) Descriptor

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

func (*Offer) GetChunks added in v1.17.0

func (m *Offer) GetChunks() []*Chunk

func (*Offer) GetTopmost

func (m *Offer) GetTopmost() uint64

func (*Offer) Marshal

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

func (*Offer) MarshalTo

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

func (*Offer) MarshalToSizedBuffer

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

func (*Offer) ProtoMessage

func (*Offer) ProtoMessage()

func (*Offer) Reset

func (m *Offer) Reset()

func (*Offer) Size

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

func (*Offer) String

func (m *Offer) String() string

func (*Offer) Unmarshal

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

func (*Offer) XXX_DiscardUnknown

func (m *Offer) XXX_DiscardUnknown()

func (*Offer) XXX_Marshal

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

func (*Offer) XXX_Merge

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

func (*Offer) XXX_Size

func (m *Offer) XXX_Size() int

func (*Offer) XXX_Unmarshal

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

type Syn

type Syn struct {
}

func (*Syn) Descriptor

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

func (*Syn) Marshal

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

func (*Syn) MarshalTo

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

func (*Syn) MarshalToSizedBuffer

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

func (*Syn) ProtoMessage

func (*Syn) ProtoMessage()

func (*Syn) Reset

func (m *Syn) Reset()

func (*Syn) Size

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

func (*Syn) String

func (m *Syn) String() string

func (*Syn) Unmarshal

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

func (*Syn) XXX_DiscardUnknown

func (m *Syn) XXX_DiscardUnknown()

func (*Syn) XXX_Marshal

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

func (*Syn) XXX_Merge

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

func (*Syn) XXX_Size

func (m *Syn) XXX_Size() int

func (*Syn) XXX_Unmarshal

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

type Want

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

func (*Want) Descriptor

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

func (*Want) GetBitVector

func (m *Want) GetBitVector() []byte

func (*Want) Marshal

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

func (*Want) MarshalTo

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

func (*Want) MarshalToSizedBuffer

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

func (*Want) ProtoMessage

func (*Want) ProtoMessage()

func (*Want) Reset

func (m *Want) Reset()

func (*Want) Size

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

func (*Want) String

func (m *Want) String() string

func (*Want) Unmarshal

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

func (*Want) XXX_DiscardUnknown

func (m *Want) XXX_DiscardUnknown()

func (*Want) XXX_Marshal

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

func (*Want) XXX_Merge

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

func (*Want) XXX_Size

func (m *Want) XXX_Size() int

func (*Want) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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