package
2.0.0+incompatible
Repository: https://github.com/eahydra/dragonboat.git
Documentation: pkg.go.dev
# Functions
NewLockedRand returns a new LockedRand instance.
NewProbability returns a new Probability instance, the probability is is expressed a outOfMillion / one million, e.g.
ShuffleStringList shuffles the specified string slice.
String returns a random string with the specified sz length.
# Variables
LockGuardedRand is a global lock protected random source ready to be used.
# Structs
LockedRand a mutex protected random source.
Probability is used to represent a random probability.
# Interfaces
Source is the interface for returning random Uint64 and Int values.