Documentation ¶
Index ¶
- Constants
- type Collector
- func (c *Collector) AllVersions() (versions []*version.Version, err error)
- func (c *Collector) ArchivedVersions() (items []*version.Version, err error)
- func (c *Collector) StableVersions() (items []*version.Version, err error)
- func (c *Collector) UnstableVersions() (items []*version.Version, err error)
Constants ¶
View Source
const (
// DownloadPageURL 阿里云镜像站点网址
DownloadPageURL = "https://mirrors.aliyun.com/golang/"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector 阿里云镜像站点版本采集器
func (*Collector) AllVersions ¶
AllVersions 返回所有已知版本
func (*Collector) ArchivedVersions ¶
ArchivedVersions 返回已归档版本
func (*Collector) StableVersions ¶
StableVersions 返回所有稳定版本
Click to show internal directories.
Click to hide internal directories.