Documentation ¶
Overview ¶
Package shared contains shared code between the controller and the device(s).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Home ¶
func Home() string
Home returns the home directory even when cross compiled and panics on failure.
When cross compiling, user.Current() fails.
func Hostname ¶
func Hostname() string
Hostname is like os.Hostname() but caches the value and panics on failure.
func RetainedStr ¶
RetainedStr sets a retained message.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.