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.

Source Files

Directories

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