package grpcrand
import "github.com/vgarvardt/backoff/internal/grpcrand"
Package grpcrand implements math/rand functions in a concurrent-safe way with a global random source, independent of math/rand's global source.
Index ¶
Functions ¶
func Float64 ¶
func Float64() float64
Float64 implements rand.Float64 on the grpcrand global source.
func Int63n ¶
Int63n implements rand.Int63n on the grpcrand global source.
func Intn ¶
Intn implements rand.Intn on the grpcrand global source.
Source Files ¶
- Version
- v1.0.0 (latest)
- Published
- Jun 20, 2020
- Platform
- windows/amd64
- Imports
- 3 packages
- Last checked
- 11 hours ago –
Tools for package owners.