pb

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0, MIT, Apache-2.0, + 1 more Imports: 5 Imported by: 1

Documentation

Overview

Package pb contains generated protobuf types

Index

Constants

This section is empty.

Variables

View Source
var File_bcast_proto protoreflect.FileDescriptor
View Source
var File_delta_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CRDTBroadcast added in v0.1.8

type CRDTBroadcast struct {
	Heads []*Head `protobuf:"bytes,1,rep,name=Heads,proto3" json:"Heads,omitempty"` // A list of heads
	// contains filtered or unexported fields
}

func (*CRDTBroadcast) Descriptor deprecated added in v0.1.8

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

Deprecated: Use CRDTBroadcast.ProtoReflect.Descriptor instead.

func (*CRDTBroadcast) GetHeads added in v0.1.8

func (x *CRDTBroadcast) GetHeads() []*Head

func (*CRDTBroadcast) ProtoMessage added in v0.1.8

func (*CRDTBroadcast) ProtoMessage()

func (*CRDTBroadcast) ProtoReflect added in v0.1.9

func (x *CRDTBroadcast) ProtoReflect() protoreflect.Message

func (*CRDTBroadcast) Reset added in v0.1.8

func (x *CRDTBroadcast) Reset()

func (*CRDTBroadcast) String added in v0.1.8

func (x *CRDTBroadcast) String() string

type Delta

type Delta struct {
	Elements   []*Element `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"`
	Tombstones []*Element `protobuf:"bytes,2,rep,name=tombstones,proto3" json:"tombstones,omitempty"`
	Priority   uint64     `protobuf:"varint,3,opt,name=priority,proto3" json:"priority,omitempty"`
	// contains filtered or unexported fields
}

func (*Delta) Descriptor deprecated

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

Deprecated: Use Delta.ProtoReflect.Descriptor instead.

func (*Delta) GetElements

func (x *Delta) GetElements() []*Element

func (*Delta) GetPriority

func (x *Delta) GetPriority() uint64

func (*Delta) GetTombstones

func (x *Delta) GetTombstones() []*Element

func (*Delta) ProtoMessage

func (*Delta) ProtoMessage()

func (*Delta) ProtoReflect added in v0.1.9

func (x *Delta) ProtoReflect() protoreflect.Message

func (*Delta) Reset

func (x *Delta) Reset()

func (*Delta) String

func (x *Delta) String() string

type Element

type Element struct {

	// key+id must form a unique identifier
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Id    string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Element) Descriptor deprecated

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

Deprecated: Use Element.ProtoReflect.Descriptor instead.

func (*Element) GetId

func (x *Element) GetId() string

func (*Element) GetKey

func (x *Element) GetKey() string

func (*Element) GetValue

func (x *Element) GetValue() []byte

func (*Element) ProtoMessage

func (*Element) ProtoMessage()

func (*Element) ProtoReflect added in v0.1.9

func (x *Element) ProtoReflect() protoreflect.Message

func (*Element) Reset

func (x *Element) Reset()

func (*Element) String

func (x *Element) String() string
type Head struct {
	Cid []byte `protobuf:"bytes,1,opt,name=Cid,proto3" json:"Cid,omitempty"`
	// contains filtered or unexported fields
}

func (*Head) Descriptor deprecated added in v0.1.8

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

Deprecated: Use Head.ProtoReflect.Descriptor instead.

func (*Head) GetCid added in v0.1.8

func (x *Head) GetCid() []byte

func (*Head) ProtoMessage added in v0.1.8

func (*Head) ProtoMessage()

func (*Head) ProtoReflect added in v0.1.9

func (x *Head) ProtoReflect() protoreflect.Message

func (*Head) Reset added in v0.1.8

func (x *Head) Reset()

func (*Head) String added in v0.1.8

func (x *Head) String() string

Jump to

Keyboard shortcuts

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