Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownLoader ¶
type DownLoader struct {
Host string
}
func NewDownLoader ¶
func NewDownLoader(host string) *DownLoader
func (DownLoader) GetAllDownload ¶
func (d DownLoader) GetAllDownload() ([]GoVersionInfoList, error)
func (DownLoader) GetFeaturedDownload ¶
func (d DownLoader) GetFeaturedDownload() ([]GoVersionInfoLite, error)
type GoVersionInfoFull ¶
type GoVersionInfoFull struct {
GoVersionInfoLite
Arch string `json:"arch,omitempty"`
PackageType string `json:"package_type,omitempty"`
SHA256 string `json:"sha256,omitempty"`
}
type GoVersionInfoList ¶
type GoVersionInfoList struct {
Category string
InfoList []GoVersionInfoFull
}
Click to show internal directories.
Click to hide internal directories.