package rand

Import Path
	github.com/aws/smithy-go/rand (on go.dev)

Dependency Relation
	imports 5 packages, and imported by 2 packages

Involved Source Files Package rand provides utilities for creating and working with random value generators. rand.go uuid.go
Package-Level Type Names (total 2, both are exported)
/* sort exporteds by: | */
UUID provides computing random UUID version 4 values from a random source reader. GetBytes returns a byte slice containing a random UUID version 4 sourced from the random reader the UUID was created with. Returns an error if unable to compute the UUID. GetUUID returns a random UUID version 4 string representation sourced from the random reader the UUID was created with. Returns an error if unable to compute the UUID. func NewUUID(r io.Reader) *UUID
UUIDIdempotencyToken provides a utility to get idempotency tokens in the UUID format. GetIdempotencyToken returns a random UUID value for Idempotency token. func NewUUIDIdempotencyToken(r io.Reader) *UUIDIdempotencyToken
Package-Level Functions (total 6, in which 4 are exported)
CryptoRandInt63n returns a random int64 between zero and value of max obtained from the crypto rand source.
Int63n returns a int64 between zero and value of max, read from an io.Reader source.
NewUUID returns an initialized UUID value that can be used to retrieve random UUID version 4 values.
NewUUIDIdempotencyToken returns a idempotency token provider returning tokens in the UUID random format using the reader provided.
Package-Level Variables (only one, which is exported)
Reader provides a random reader that can reset during testing.
Package-Level Constants (only one, which is unexported)