grpc: google.golang.org/grpc/internal/grpcrand Index | Files

package grpcrand

import "google.golang.org/grpc/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

Package Files

grpcrand.go

func Float64 Uses

func Float64() float64

Float64 implements rand.Float64 on the grpcrand global source.

func Int63n Uses

func Int63n(n int64) int64

Int63n implements rand.Int63n on the grpcrand global source.

func Intn Uses

func Intn(n int) int

Intn implements rand.Intn on the grpcrand global source.

Package grpcrand imports 3 packages (graph) and is imported by 7 packages. Updated 2018-06-01. Refresh now. Tools for package owners.