codenames

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultRNG

func DefaultRNG() (*rand.Rand, error)

DefaultRNG returns a new pseudo-random source seeded by a crypto level seed.

func Generate

func Generate(rng *rand.Rand) string

Generate generates and returns a random hero name.

func NewCryptoSeed

func NewCryptoSeed() (int64, error)

NewCryptoSeed returns a crypto level random numbers generator seed. It returns an error and a seed equals to -1 if the underlying system call fails.

Types

This section is empty.

Jump to

Keyboard shortcuts

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