Documentation ¶
Index ¶
- Variables
- func DayJitter(t time.Duration) time.Duration
- func DayJitterSec(t time.Duration) int
- func HourJitter(t time.Duration) time.Duration
- func HourJitterSec(t time.Duration) int
- func Jitter(d time.Duration) int64
- func JitterDuration(d time.Duration) time.Duration
- func WeekJitter(t time.Duration) time.Duration
- func WeekJitterSec(t time.Duration) int
- type Duration
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Hour = time.Hour Day = 24 * Hour Week = 7 * Day )
Functions ¶
func DayJitterSec ¶
func HourJitterSec ¶
func WeekJitterSec ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.