hostname

package
v1.64.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsIdentifier

func AsIdentifier() (string, error)

AsIdentifier uses the hostname of the os and postfixes a short random string to guarantee uniqueness The returned value is appropriate to use as a convenient unique identifier and will always be equal when called from within the same process.

Types

This section is empty.

Jump to

Keyboard shortcuts

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