urigen

package
v0.0.0-...-1fbe360 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2016 License: BSD-2-Clause Imports: 2 Imported by: 1

Documentation

Index

Constants

View Source
const Symbols = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"

Variables

This section is empty.

Functions

func Generate

func Generate(size int) (b []byte, err error)

Generate will attempt to generate a random set of bytes of the specified size. There is no limit on the length.

func RandChar

func RandChar() (c byte, err error)

RandChar returns a random character from Symbols.

Types

This section is empty.

Jump to

Keyboard shortcuts

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