randreader

package
v1.7.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2023 License: AGPL-3.0 Imports: 4 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() io.Reader

New returns an infinite reader that will return pseudo-random data. Data should not be used for cryptographic functions. A random time based seed is used.

func NewSource

func NewSource(src rand.Source) io.Reader

NewSource returns an infinite reader that will return pseudo-random data. Data should not be used for cryptographic functions. The data is seeded from the provided source.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL