helper

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: ISC Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsExpiredAfterDuration

func IsExpiredAfterDuration(timestamp time.Time, d time.Duration) bool

IsExpiredAfterDuration- is peer expired from time

func ResetFutureTimestampToNow

func ResetFutureTimestampToNow(timestamp uint64) time.Time

ResetFutureTimestampToNow - reset future timestamp to now

Types

This section is empty.

Jump to

Keyboard shortcuts

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