Documentation ¶
Overview ¶
Package context stores context data of the Link022 device.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceConfig ¶
type DeviceConfig struct { ETHINTFName string WLANINTFName string Hostname string ControllerAddr string GNMIServerAddr string }
DeviceConfig contains the configuration specific to this device.
func GetDeviceConfig ¶
func GetDeviceConfig() *DeviceConfig
GetDeviceConfig returns the singleton DeviceConfig object.
Click to show internal directories.
Click to hide internal directories.