identifier

package
v0.11.0-alpha4 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package identifier provides collision-resistant string-based identifiers.

Index

Constants

View Source
const (
	// PrefixSynchronization is the prefix used for synchronization session
	// identifiers.
	PrefixSynchronization = "sync_"
	// PrefixForwarding is the prefix used for forwarding session identifiers.
	PrefixForwarding = "fwrd_"
	// PrefixProject is the prefix used for project identifiers.
	PrefixProject = "proj_"
)

Variables

This section is empty.

Functions

func New

func New(prefix string) (string, error)

New generates a new collision-resistant identifier with the specified prefix.

Types

This section is empty.

Jump to

Keyboard shortcuts

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