Documentation ¶
Index ¶
- Variables
- func AddNewCandidate(candidate, version string)
- func AddNewVersion(candidate string, version string)
- func DownloadAndVerify(url string, checksum string, algo string, name string) bool
- func UpdateDefaultVersionConfig(candidate string, defaultVersion string)
- type Config
- type Man
- type RegistryData
- type RegistryVersion
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfigFile = "deto.json"
View Source
var DefaultLocation = "/.devtools"
View Source
var DefaultVersionLocation = DefaultLocation + "/%s/current"
Functions ¶
func AddNewCandidate ¶
func AddNewCandidate(candidate, version string)
func AddNewVersion ¶
func DownloadAndVerify ¶
func UpdateDefaultVersionConfig ¶
UpdateDefaultVersionConfig will update current version for candidate -> Will be implemented later
Types ¶
type Config ¶
type RegistryData ¶
type RegistryData struct { AIX []RegistryVersion `json:"aix"` Darwin []RegistryVersion `json:"darwin"` Linux []RegistryVersion `json:"linux"` Dragonfly []RegistryVersion `json:"dragonfly"` Freebsd []RegistryVersion `json:"freebsd"` Illumos []RegistryVersion `json:"illumos"` Netbsd []RegistryVersion `json:"netbsd"` Openbsd []RegistryVersion `json:"openbsd"` Plan9 []RegistryVersion `json:"plan9"` Solaris []RegistryVersion `json:"solaris"` Windows []RegistryVersion `json:"windows"` }
Click to show internal directories.
Click to hide internal directories.