package
1.1.0-rc.1
Repository: https://github.com/soopsio/cockroach.git
Documentation: pkg.go.dev

# Functions

NewClock creates a new hybrid logical clock associated with the given physical clock.
NewManualClock returns a new instance, initialized with specified timestamp.
No description provided by the author
UnixNano returns the local machine's physical nanosecond unix epoch timestamp as a convenience to create a HLC via c := hlc.NewClock(hlc.UnixNano, ...).

# Variables

No description provided by the author
No description provided by the author
MaxTimestamp is the max value allowed for Timestamp.
MinTimestamp is the min value allowed for Timestamp.

# Structs

Clock is a hybrid logical clock.
ManualClock is a convenience type to facilitate creating a hybrid logical clock whose physical clock is manually controlled.
Timestamp represents a state of the hybrid logical clock.