mirror of
https://github.com/wyx2685/V2bX.git
synced 2025-01-22 18:08:14 -05:00
16 lines
380 B
Go
16 lines
380 B
Go
package conf
|
|
|
|
type NodeConfig struct {
|
|
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"`
|
|
}
|