aws-sdk-go: github.com/aws/aws-sdk-go/internal/sdkrand Index | Files

package sdkrand

import "github.com/aws/aws-sdk-go/internal/sdkrand"

Index

Package Files

locked_source.go read.go

Variables

var SeededRand = rand.New(&lockedSource{src: rand.NewSource(time.Now().UnixNano())})

SeededRand is a new RNG using a thread safe implementation of rand.Source

func Read Uses

func Read(r *rand.Rand, p []byte) (int, error)

Read provides the stub for math.Rand.Read method support for go version's 1.6 and greater.

Package sdkrand imports 3 packages (graph) and is imported by 30 packages. Updated 2019-10-12. Refresh now. Tools for package owners.