Versions in this module Expand all Collapse all v0 v0.1.1 Feb 14, 2023 v0.1.0 Feb 14, 2023 Changes in this version + type Condition int + const Ancestor + const Concurrent + const Descendant + const Equal + type VClock map[string]uint64 + func FromBytes(data []byte) (vc VClock, err error) + func New() VClock + func (vc VClock) Bytes() []byte + func (vc VClock) Compare(other VClock, cond Condition) bool + func (vc VClock) CompareOld(other VClock, cond Condition) bool + func (vc VClock) Copy() VClock + func (vc VClock) CopyFromMap(otherMap map[string]uint64) VClock + func (vc VClock) FindTicks(id string) (uint64, bool) + func (vc VClock) GetMap() map[string]uint64 + func (vc VClock) LastUpdate() (last uint64) + func (vc VClock) Merge(other VClock) + func (vc VClock) Order(other VClock) Condition + func (vc VClock) PrintVC() + func (vc VClock) ReturnVCString() string + func (vc VClock) Set(id string, ticks uint64) + func (vc VClock) Tick(id string)