timetool

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandomTime added in v0.0.6

func RandomTime(minDuration, maxDuration time.Duration) time.Duration

RandomTime Between min Duration and max Duration, random values are taken

func SleepWithRandom

func SleepWithRandom(minDuration, maxDuration time.Duration)

SleepWithRandom sleeps for a duration between minDuration and maxDuration, inclusive duration is randomly selected between minDuration and maxDuration

Types

This section is empty.

Jump to

Keyboard shortcuts

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