config

package
v0.0.0-...-e813366 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2018 License: MIT Imports: 13 Imported by: 0

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.

Jump to

Keyboard shortcuts

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