lamport

package
v0.0.0-...-b6e1e37 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clock

type Clock struct {
	// contains filtered or unexported fields
}

func (*Clock) CompareAndUpdate

func (clock *Clock) CompareAndUpdate(value uint64)

func (*Clock) GetTime

func (clock *Clock) GetTime() uint64

func (*Clock) Increment

func (clock *Clock) Increment() uint64

func (*Clock) IsGreaterThan

func (clock *Clock) IsGreaterThan(obj *Clock) bool

func (*Clock) IsLessThan

func (clock *Clock) IsLessThan(obj *Clock) bool

func (*Clock) SetTime

func (clock *Clock) SetTime(value uint64)

Jump to

Keyboard shortcuts

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