instanceident

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessDerivedStringIdentity

func ProcessDerivedStringIdentity() (identity string, err error)

ProcessDerivedStringIdentity generate identity string from host name and PID of running process.

func TimeDerivedInt64Identity

func TimeDerivedInt64Identity() (ident int64)

TimeDerivedInt64Identity generates identity from hostname, PID and time. This function is NOT thread-safe. The clock resolution in identity generation is nanosecond.

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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