id

package
v0.0.0-...-44b6f24 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ID

type ID []byte

func (ID) Base32

func (i ID) Base32() string

func (ID) Hex

func (i ID) Hex() string

type IDGenerator

type IDGenerator struct {
	// contains filtered or unexported fields
}

func NewIDGenerator

func NewIDGenerator(randomSize int32) (*IDGenerator, error)

func (*IDGenerator) New

func (i *IDGenerator) New() (ID, error)

Jump to

Keyboard shortcuts

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