Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyLegacyVersionFile = &LegacyVersionFile{ Enable: false, }
View Source
var ( EmptyProxy = &Proxy{ Url: "", Enable: false, } )
View Source
var EmptyRegistry = &Registry{
Address: "",
}
View Source
var EmptyStorage = &Storage{
SdkPath: "",
}
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Proxy *Proxy `yaml:"proxy"`
Storage *Storage `yaml:"storage"`
Registry *Registry `yaml:"registry"`
LegacyVersionFile *LegacyVersionFile `yaml:"legacyVersionFile"`
}
func NewConfigWithPath ¶
func (*Config) SaveConfig ¶ added in v0.4.0
type LegacyVersionFile ¶ added in v0.4.0
type LegacyVersionFile struct {
Enable bool `yaml:"enable"`
}
LegacyVersionFile represents whether to enable the ability to parse legacy version files, Disable by default.
Click to show internal directories.
Click to hide internal directories.