context

package
v0.0.0-...-8fce601 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

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