feat: use settings file to predefine nodes #169

This commit is contained in:
Jacky 2024-05-07 19:45:24 +08:00
parent b429c15893
commit a689608bdb
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
7 changed files with 191 additions and 48 deletions

View file

@ -3,3 +3,7 @@ package settings
type Cluster struct {
Node []string `ini:",,allowshadow"`
}
var ClusterSettings = Cluster{
Node: []string{},
}