crdt

package
v0.0.0-...-e3452d7 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Value

type Value struct {
	ModEpochNanos            int64       `json:"m"`
	PreviousRoot             string      `json:"p,omitempty"`
	TombstoneSinceEpochNanos int64       `json:"d,omitempty"`
	Value                    interface{} `json:"v"`
}

func LastWriteWins

func LastWriteWins(newValue, oldValue *Value) *Value

func (Value) Tombstoned

func (v Value) Tombstoned() bool

Jump to

Keyboard shortcuts

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