Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BaseConfigFile string
BaseConfigFile contains the path to the base config file.
View Source
var ConfigPollInterval time.Duration
ConfigPollInterval contains the interval between polling new configuration.
View Source
var GatewayClient gw.GatewayClient
GatewayClient is the client interfacing with the gateway-server.
View Source
var GatewayMAC lorawan.EUI64
GatewayMAC contains the MAC of the gateway.
View Source
var OutputConfigFile string
OutputConfigFile contains the path to the output config file.
View Source
var PFRestartCommand string
PFRestartCommand contains the command to restart the packet-forwarder.
Functions ¶
func UpdateConfigLoop ¶
func UpdateConfigLoop()
UpdateConfigLoop checks for new configuration, writes new configuration to disk and invokes the packet-forwarder restart command.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.