uid

package
v0.0.0-...-3a74bb8 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IdFromHash

func IdFromHash(s string, prefix ...string) string

func New

func New(prefix string) string

New Returns a new random base58 encoded uuid.

func Node

func Node() string

func Request

func Request() string

Types

type Prefix

type Prefix string
const (
	RequestPrefix Prefix = "req"
	NodePrefix    Prefix = "node"
)

Jump to

Keyboard shortcuts

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