reunion: Index | Files | Directories

package epochtime

import ""

Package epochtime provides the Reunion protocol epoch timer.


Package Files


type EpochClock Uses

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.


katzenpostPackage katzenpost provides the Reunion protocol Katzenpost epoch timer.

Package epochtime imports 1 packages (graph) and is imported by 1 packages. Updated 2020-10-25. Refresh now. Tools for package owners.