V2bX/conf/node.go

16 lines
380 B
Go
Raw Normal View History

package conf
2022-06-01 13:35:41 -04:00
type NodeConfig struct {
2023-07-29 06:47:47 -04:00
ApiConfig *ApiConfig `yaml:"ApiConfig"`
Options *Options `yaml:"Options"`
}
type ApiConfig struct {
APIHost string `yaml:"ApiHost"`
NodeID int `yaml:"NodeID"`
Key string `yaml:"ApiKey"`
NodeType string `yaml:"NodeType"`
Timeout int `yaml:"Timeout"`
RuleListPath string `yaml:"RuleListPath"`
}