support custom node name

This commit is contained in:
yuzuki999
2023-09-13 01:44:03 +08:00
parent 5286dfa244
commit da1870cc88
4 changed files with 33 additions and 18 deletions

View File

@@ -83,6 +83,7 @@ func (n *NodeConfig) UnmarshalJSON(data []byte) (err error) {
}
type Options struct {
Name string `json:"Name"`
Core string `json:"Core"`
ListenIP string `json:"ListenIP"`
SendIP string `json:"SendIP"`