ratelimit

package
v0.0.0-...-7f9a46d Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RandomSeed = rand.New(rand.NewSource(time.Now().UnixNano()))

Functions

func RandomizeByTenPercent

func RandomizeByTenPercent(val int) int

RandomizeByTenPercent returns the value that is randomly changed by at most +/- 10% from the input. May return the same value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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