crdt

package
v0.28.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObjectVersion

type ObjectVersion struct {
	OjbID         oid.ID
	Headers       map[string]string
	CreationEpoch uint64
}

func NewObjectVersion

func NewObjectVersion(obj *object.Object) *ObjectVersion

func (*ObjectVersion) VersionID

func (o *ObjectVersion) VersionID() string

type ObjectVersions

type ObjectVersions struct {
	// contains filtered or unexported fields
}

func NewObjectVersions

func NewObjectVersions(name string) *ObjectVersions

func (*ObjectVersions) AppendVersion

func (v *ObjectVersions) AppendVersion(ov *ObjectVersion)

func (*ObjectVersions) GetCRDTHeaders

func (v *ObjectVersions) GetCRDTHeaders() map[string]string

func (*ObjectVersions) GetLast

func (v *ObjectVersions) GetLast() *ObjectVersion

func (*ObjectVersions) Name

func (v *ObjectVersions) Name() string

Jump to

Keyboard shortcuts

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