idgen

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const PasswordLength = 64

Variables

This section is empty.

Functions

func GenerateMachineID

func GenerateMachineID(prefix string) (string, error)

Generate a unique identifier, composed by a prefix and a random suffix. The prefix can be provided by a parameter to use in test environments.

func GeneratePassword

func GeneratePassword(length int) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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