Documentation ¶ Index ¶ func InitializeSeed() type Source func (s Source) Int63() int64 func (s Source) Int64() int64 func (s Source) Seed(int64) func (s Source) Uint64() uint64 type SyncReader func (r *SyncReader) Read(p []byte) (n int, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func InitializeSeed ¶ func InitializeSeed() Types ¶ type Source ¶ type Source struct { io.Reader } func (Source) Int63 ¶ func (s Source) Int63() int64 func (Source) Int64 ¶ func (s Source) Int64() int64 func (Source) Seed ¶ func (s Source) Seed(int64) func (Source) Uint64 ¶ func (s Source) Uint64() uint64 type SyncReader ¶ type SyncReader struct { io.Reader sync.Mutex } func (*SyncReader) Read ¶ func (r *SyncReader) Read(p []byte) (n int, err error) Source Files ¶ View all Source files rng.go seed.go Click to show internal directories. Click to hide internal directories.