katzenpost

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2021 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package katzenpost provides the Reunion protocol Katzenpost epoch timer.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clock

type Clock struct{}

Clock provides an implemention of the Reunion EpochClock interface for the Katzenpost epoch timer.

func (*Clock) Now

func (t *Clock) Now() (current uint64, elapsed, till time.Duration)

Now returns the current Katzenpost epoch, time since the start of the current epoch, and time till the next epoch.

func (*Clock) Period

func (t *Clock) Period() time.Duration

Period returns the epoch duration.

Jump to

Keyboard shortcuts

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