7d93302e05
* add a prometheus_uri option for cscli's config, and update documentation * specify min version
15 lines
619 B
Go
15 lines
619 B
Go
package csconfig
|
|
|
|
/*cscli specific config, such as hub directory*/
|
|
type CscliCfg struct {
|
|
Output string `yaml:"output,omitempty"`
|
|
HubBranch string `yaml:"hub_branch"`
|
|
SimulationConfig *SimulationConfig `yaml:"-"`
|
|
DbConfig *DatabaseCfg `yaml:"-"`
|
|
HubDir string `yaml:"-"`
|
|
DataDir string `yaml:"-"`
|
|
ConfigDir string `yaml:"-"`
|
|
HubIndexFile string `yaml:"-"`
|
|
SimulationFilePath string `yaml:"-"`
|
|
PrometheusUrl string `yaml:"prometheus_uri"`
|
|
}
|