vector

package
v0.2.18 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(v vclock.VClock) []byte

func FromBytes

func FromBytes(data []byte) (vclock.VClock, error)

func SortedVCString

func SortedVCString(v vclock.VClock) string

SortedVCString returns a deterministic string encoding of a vector clock

Types

type Entry

type Entry struct {
	ID    string
	Ticks uint64
}

Jump to

Keyboard shortcuts

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