info

package
v4.1.14 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2025 License: GPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// UnknownID denotes an unknown / non-determinable host ID
	UnknownID = "UNKNOWN"
)

Variables

This section is empty.

Functions

func CheckDBExists

func CheckDBExists(path string) error

CheckDBExists will return nil if a DB at path exists and otherwise the error encountered

func GetHostID

func GetHostID(fallbackPath string) string

GetHostID is a method that returns a system's unique identifier

func GetInterfaces

func GetInterfaces(dbPath string) ([]string, error)

GetInterfaces returns a list of interfaces covered by this goDB

func RuntimeID

func RuntimeID() string

RuntimeID returns the unique runtime ID of this binary

Types

This section is empty.

Jump to

Keyboard shortcuts

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