epochtime

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2021 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package epochtime provides the Reunion protocol epoch timer.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EpochClock

type EpochClock interface {
	// Now returns the current epoch, time since the start of the
	// current epoch, and time till the next epoch.
	Now() (current uint64, elapsed, till time.Duration)

	// Period returns the epoch duration.
	Period() time.Duration
}

EpochClock the interface which Reunion uses for epoch clocks.

Directories

Path Synopsis
Package katzenpost provides the Reunion protocol Katzenpost epoch timer.
Package katzenpost provides the Reunion protocol Katzenpost epoch timer.

Jump to

Keyboard shortcuts

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