Versions in this module Expand all Collapse all v1 v1.0.0 Apr 12, 2021 Changes in this version + func ComposeTS(physical, logical int64) uint64 + func EncodeTSO(ts int64) uint64 + func ExtractPhysical(ts uint64) int64 + func GetPhysical(t time.Time) int64 + func GetTimeFromTS(ts uint64) time.Time + type Future interface + Wait func() (uint64, error) + type Oracle interface + Close func() + GetTimestamp func(ctx context.Context) (uint64, error) + GetTimestampAsync func(ctx context.Context) Future + IsExpired func(lockTimestamp uint64, TTL uint64) bool