reunion: github.com/katzenpost/reunion/epochtime/katzenpost Index | Files

package katzenpost

import "github.com/katzenpost/reunion/epochtime/katzenpost"

Package katzenpost provides the Reunion protocol Katzenpost epoch timer.

Index

Package Files

clock.go

type Clock Uses

type Clock struct{}

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

func (*Clock) Now Uses

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 Uses

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

Period returns the epoch duration.

Package katzenpost imports 2 packages (graph). Updated 2020-10-25. Refresh now. Tools for package owners.