random

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package random is an internal helper package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(n int) (bytes []byte, err error)

Bytes returns random arbitrary bytes with a length of n.

func CharSetBytes

func CharSetBytes(n int, charset string) (bytes []byte, err error)

CharSetBytes returns random bytes with a length of n from the characters in the charset.

Types

This section is empty.

Jump to

Keyboard shortcuts

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