timestamp

package
v0.0.0-...-cc5316a Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleTimestamp

func HandleTimestamp(typ vertex.Type, ts *Timestamp) error

func LE

func LE(a *Timestamp, b *Timestamp) bool

Types

type Timestamp

type Timestamp struct {
	Epoch    int
	Counters []int
}

func CopyTimestampFrom

func CopyTimestampFrom(ts *Timestamp) *Timestamp

func NewTimestamp

func NewTimestamp() *Timestamp

func NewTimestampWithParams

func NewTimestampWithParams(epoch int, counters []int) *Timestamp

func (*Timestamp) ToString

func (ts *Timestamp) ToString() string

Jump to

Keyboard shortcuts

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