randbytes

package
v0.0.0-...-0dabf1d Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRand

func NewRand() io.Reader

NewRand creates a new random reader with a time source.

Types

type Rand

type Rand struct {
	rand.Source
}

Rand creates a stream of non-crypto quality random bytes

func (*Rand) Read

func (r *Rand) Read(p []byte) (n int, err error)

Read satisfies io.Reader

Jump to

Keyboard shortcuts

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