Back to godoc.org

Package grpcrand

v1.32.0
Latest Go to latest

The latest major version is .

Published: Sep 8, 2020 | License: Apache-2.0 | Module: google.golang.org/grpc

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

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.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier