randutil

package
v1.13.0-prerelease Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package randutil provides common random number utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLockedRand

func NewLockedRand() *xrand.Rand

NewLockedRand returns a new "x/exp/rand" pseudo-random number generator seeded with a cryptographically-secure random number. It is safe to use from multiple goroutines.

Types

This section is empty.

Directories

Path Synopsis
Package rand implements pseudo-random number generators.
Package rand implements pseudo-random number generators.

Jump to

Keyboard shortcuts

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