aws-sdk-go: Index | Files

package sdkrand

import ""


Package Files

locked_source.go read.go


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 52 packages. Updated 2019-10-12. Refresh now. Tools for package owners.