grpcrand

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package grpcrand implements math/rand functions in a concurrent-safe way with a global random source, independent of math/rand's global source.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Float64

func Float64() float64

Float64 implements rand.Float64 on the grpcrand global source.

func Int63n

func Int63n(n int64) int64

Int63n implements rand.Int63n on the grpcrand global source.

func Intn

func Intn(n int) int

Intn implements rand.Intn on the grpcrand global source.

Types

This section is empty.

Jump to

Keyboard shortcuts

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