package random
import "github.com/docker/docker/pkg/random"
Index ¶
Variables ¶
Rand is a global *rand.Rand instance, which initialized with NewSource() source.
Reader is a global, shared instance of a pseudorandom bytes generator. It doesn't consume entropy.
Functions ¶
func NewSource ¶
NewSource returns math/rand.Source safe for concurrent use and initialized with current unix-nano timestamp
Source Files ¶
- Version
- v1.13.0-rc1
- Published
- Nov 11, 2016
- Platform
- js/wasm
- Imports
- 7 packages
- Last checked
- 1 minute ago –
Tools for package owners.