Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CryptoRandSource ¶
type CryptoRandSource struct{}
CryptoRandSource represents a source of uniformly-distributed random int64 values in the range [0, 1<<63).
func (CryptoRandSource) Int63 ¶
func (CryptoRandSource) Int63() int64
Int63 returns a non-negative random 63-bit integer as an int64 from CryptoRandSource.
func (CryptoRandSource) Seed ¶
func (CryptoRandSource) Seed(int64)
Seed is a fake implementation for rand.Source interface from math/rand.
Click to show internal directories.
Click to hide internal directories.