util

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: MIT Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MachineID

func MachineID() string

MachineID returns a fixed ID specific to an application.

func NewPipeAddr

func NewPipeAddr() string

NewPipeAddr returns an unused UNIX socket address including the prefix pipe://. The socket file will be collected when the program extis.

func NewUnixAddr

func NewUnixAddr() string

NewUnixAddr returns an unused UNIX socket address inluding the prefix unix://. The socket file will be collected when the program exits.

func ProcessID

func ProcessID() uint32

ProcessID return the PID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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