Documentation
¶
Overview ¶
Package register implements state-based register CRDTs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type LWW ¶
type LWW struct {
// contains filtered or unexported fields
}
LWW stores an opaque byte value selected by the greatest HLC tag. Values are copied at both API boundaries so callers cannot mutate converged state.
func (*LWW) ClockState ¶
func (*LWW) State ¶
func (r *LWW) State() crdt.StateSnapshot
Click to show internal directories.
Click to hide internal directories.