vclock

package
v1.22.5-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Comparable

func Comparable(
	clock1 *clockspb.VectorClock,
	clock2 *clockspb.VectorClock,
) bool

func Compare

func Compare(
	clock1 *clockspb.VectorClock,
	clock2 *clockspb.VectorClock,
) (int, error)

func NewVectorClock

func NewVectorClock(
	clusterID int64,
	shardID int32,
	clock int64,
) *clockspb.VectorClock

Types

This section is empty.

Jump to

Keyboard shortcuts

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