Discover Packages
go.mongodb.org/mongo-driver/v2
internal
randutil
package
Version:
v2.2.0
Opens a new window with list of versions in this module.
Published: Apr 9, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package randutil provides common random number utilities.
func NewLockedRand ¶
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.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.