dsnet/const.go
2020-02-27 23:09:18 +00:00

20 lines
406 B
Go

package dsnet
const (
// could be overridden in future via env
CONFIG_FILE = "/etc/dsnet-config.json"
// these end up in the config file
DEFAULT_INTERFACE_NAME = "dsnet"
DEFAULT_REPORT_FILE = "/var/lib/dsnet-report.json"
// keepalive always configured for everything
KEEPALIVE_SECONDS = 21;
// when is a peer considered gone forever? (could remove)
EXPIRY_DAYS = 28;
LISTEN_PORT = 51820;
)