Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CommitSHA string
CommitSHA is the commit SHA against which this application was built.
Functions ¶
func ActiveNetworkInterface ¶
ActiveNetworkInterface returns an active network interface. Wi-Fi interfaces are preferred over ethernet interfaces.
func CheckUpdate ¶
CheckUpdate will check the latest commit against the current commit. It will run the Update function if the commits are different.
func HandleSignals ¶
func HandleSignals(mutexes *Mutexes)
HandleSignals handles process interrupt signals.
func NormalizeMAC ¶
func NormalizeMAC(rawMAC *net.HardwareAddr) string
NormalizeMAC returns are normalized MAC address. That is, the MAC address will not contain any colons and it will be capitalized.
Types ¶
Click to show internal directories.
Click to hide internal directories.