randutil

package
v2.0.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 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.

Jump to

Keyboard shortcuts

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