Documentation ¶
Overview ¶
Package pb contains generated protobuf types
Index ¶
- Variables
- type CRDTBroadcast
- type Delta
- func (*Delta) Descriptor() ([]byte, []int)deprecated
- func (x *Delta) GetElements() []*Element
- func (x *Delta) GetPriority() uint64
- func (x *Delta) GetTombstones() []*Element
- func (*Delta) ProtoMessage()
- func (x *Delta) ProtoReflect() protoreflect.Message
- func (x *Delta) Reset()
- func (x *Delta) String() string
- type Element
- func (*Element) Descriptor() ([]byte, []int)deprecated
- func (x *Element) GetId() string
- func (x *Element) GetKey() string
- func (x *Element) GetValue() []byte
- func (*Element) ProtoMessage()
- func (x *Element) ProtoReflect() protoreflect.Message
- func (x *Element) Reset()
- func (x *Element) String() string
- type Head
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) GetElements ¶
func (*Delta) GetPriority ¶
func (*Delta) GetTombstones ¶
func (*Delta) ProtoMessage ¶
func (*Delta) ProtoMessage()
func (*Delta) ProtoReflect ¶ added in v0.1.9
func (x *Delta) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Element) ProtoMessage()
func (*Element) ProtoReflect ¶ added in v0.1.9
func (x *Element) ProtoReflect() protoreflect.Message
type Head ¶ added in v0.1.8
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) ProtoMessage ¶ added in v0.1.8
func (*Head) ProtoMessage()
func (*Head) ProtoReflect ¶ added in v0.1.9
func (x *Head) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.