support custom node name

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

No files matched your search

+1
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"`