config

package
v0.0.0-...-9adf2cc Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cfg = struct {
	Rendezvous    string
	Token         string
	DeviceID      int64
	PrivateKey    string
	PublicKey     string
	InterfaceName string
	ListenPort    int
}{
	Rendezvous: "http://localhost:8080/api",
	Token:      "",
	DeviceID:   0,

	InterfaceName: "pn0",
	ListenPort:    0,

	PrivateKey: "",
	PublicKey:  "",
}
View Source
var ConfigFileOverride = ""

Functions

func ReadConfigFile

func ReadConfigFile() error

func SaveConfigFile

func SaveConfigFile() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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