pb

package
v1.4.1-rc4 Latest Latest
Warning

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

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

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"`
}

func (*Ack) Descriptor

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

func (*Ack) GetCursors

func (m *Ack) GetCursors() []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 Cancel

type Cancel struct {
	Ruid uint32 `protobuf:"varint,1,opt,name=Ruid,proto3" json:"Ruid,omitempty"`
}

func (*Cancel) Descriptor

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

func (*Cancel) GetRuid

func (m *Cancel) GetRuid() uint32

func (*Cancel) Marshal

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

func (*Cancel) MarshalTo

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

func (*Cancel) MarshalToSizedBuffer

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

func (*Cancel) ProtoMessage

func (*Cancel) ProtoMessage()

func (*Cancel) Reset

func (m *Cancel) Reset()

func (*Cancel) Size

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

func (*Cancel) String

func (m *Cancel) String() string

func (*Cancel) Unmarshal

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

func (*Cancel) XXX_DiscardUnknown

func (m *Cancel) XXX_DiscardUnknown()

func (*Cancel) XXX_Marshal

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

func (*Cancel) XXX_Merge

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

func (*Cancel) XXX_Size

func (m *Cancel) XXX_Size() int

func (*Cancel) XXX_Unmarshal

func (m *Cancel) 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 GetRange

type GetRange struct {
	Bin  int32  `protobuf:"varint,1,opt,name=Bin,proto3" json:"Bin,omitempty"`
	From uint64 `protobuf:"varint,2,opt,name=From,proto3" json:"From,omitempty"`
	To   uint64 `protobuf:"varint,3,opt,name=To,proto3" json:"To,omitempty"`
}

func (*GetRange) Descriptor

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

func (*GetRange) GetBin

func (m *GetRange) GetBin() int32

func (*GetRange) GetFrom

func (m *GetRange) GetFrom() uint64

func (*GetRange) GetTo

func (m *GetRange) GetTo() uint64

func (*GetRange) Marshal

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

func (*GetRange) MarshalTo

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

func (*GetRange) MarshalToSizedBuffer

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

func (*GetRange) ProtoMessage

func (*GetRange) ProtoMessage()

func (*GetRange) Reset

func (m *GetRange) Reset()

func (*GetRange) Size

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

func (*GetRange) String

func (m *GetRange) String() string

func (*GetRange) Unmarshal

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

func (*GetRange) XXX_DiscardUnknown

func (m *GetRange) XXX_DiscardUnknown()

func (*GetRange) XXX_Marshal

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

func (*GetRange) XXX_Merge

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

func (*GetRange) XXX_Size

func (m *GetRange) XXX_Size() int

func (*GetRange) XXX_Unmarshal

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

type Offer

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

func (*Offer) Descriptor

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

func (*Offer) GetHashes

func (m *Offer) GetHashes() []byte

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 Ruid

type Ruid struct {
	Ruid uint32 `protobuf:"varint,1,opt,name=Ruid,proto3" json:"Ruid,omitempty"`
}

func (*Ruid) Descriptor

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

func (*Ruid) GetRuid

func (m *Ruid) GetRuid() uint32

func (*Ruid) Marshal

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

func (*Ruid) MarshalTo

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

func (*Ruid) MarshalToSizedBuffer

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

func (*Ruid) ProtoMessage

func (*Ruid) ProtoMessage()

func (*Ruid) Reset

func (m *Ruid) Reset()

func (*Ruid) Size

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

func (*Ruid) String

func (m *Ruid) String() string

func (*Ruid) Unmarshal

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

func (*Ruid) XXX_DiscardUnknown

func (m *Ruid) XXX_DiscardUnknown()

func (*Ruid) XXX_Marshal

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

func (*Ruid) XXX_Merge

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

func (*Ruid) XXX_Size

func (m *Ruid) XXX_Size() int

func (*Ruid) XXX_Unmarshal

func (m *Ruid) 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