Custom API port (#62)

Adds ability to specify API Port, either via CLI or in config. If port is not provided, default is used, taking into account if TLS is enabled or not
This commit is contained in:
Welby McRoberts authored and Steve Brunton committed 2019-12-26 13:17:27 -05:00
1 parent 9ceb56fdbf
commit 55ae663ce3
4 files changed
+14 -4

No files matched your search

+1
View File
@@ -31,6 +31,7 @@ type Device struct {
Address string `yaml:"address"`
User string `yaml:"user"`
Password string `yaml:"password"`
Port string `yaml:"port"`
}
// Load reads YAML from reader and unmashals in Config