1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/random
Alexander Morozov 6963b9c716 Add global instance of *(math/rand).Rand and Reader
You can read random bytes from Reader without exhausting entropy.

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-07-28 22:30:57 -07:00
..
random.go Add global instance of *(math/rand).Rand and Reader 2015-07-28 22:30:57 -07:00
random_test.go Use goroutine-safe version of rand.Source 2015-05-19 12:32:40 -07:00