duration

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PeriodDuration = 3 * time.Second
)

Functions

func DurationToRound

func DurationToRound(duration time.Duration) uint64

func DurationUntilDecrypt

func DurationUntilDecrypt(currentRound, targetRound uint64) time.Duration

func ParseDuration

func ParseDuration(duration string) (time.Duration, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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