populate name and pubkey from config or node

This commit is contained in:
Jesse de Wit
2023-01-09 10:29:08 +01:00
parent 5c7f22b2f2
commit 6e20a55850
5 changed files with 63 additions and 7 deletions

View File

@@ -1,6 +1,8 @@
package main
type NodeConfig struct {
Name string `json:name,omitempty`
NodePubkey string `json:nodePubkey,omitempty`
LspdPrivateKey string `json:"lspdPrivateKey"`
Token string `json:"token"`
Host string `json:"host"`