Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get() string
Get returns a unique identifier for this device. The identifier is a random UUID that's stored on disk at $HOME/.lanternsecrets/.deviceid. If unable to read/write to that location, this defaults to the old-style device ID derived from MAC address.
func OldStyleDeviceID ¶
func OldStyleDeviceID() string
OldStyleDeviceID returns the old style of device ID, which is derived from the MAC address.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.