You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package settings
|
|
|
|
type Cluster struct {
|
|
Node []string `ini:",,allowshadow"`
|
|
}
|
|
|
|
var ClusterSettings = Cluster{
|
|
Node: []string{},
|
|
}
|
|
|
|
func ReloadCluster() (err error) {
|
|
err = load()
|
|
|
|
if err != nil {
|
|
return err
|
|
}
|
|
|
|
return mapTo("cluster", &ClusterSettings)
|
|
}
|