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.

Source Files