Documentation ¶
Index ¶
- Constants
- type Collector
- func (c *Collector) AllVersions() (items []*version.Version, err error)
- func (c *Collector) ArchivedVersions() (items []*version.Version, err error)
- func (c *Collector) Name() string
- func (c *Collector) StableVersions() (items []*version.Version, err error)
- func (c *Collector) UnstableVersions() (items []*version.Version, err error)
Constants ¶
View Source
const (
// Name Collector name
Name = "official"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector 官方站点版本采集器
func NewCollector ¶
NewCollector 返回采集器实例
func (*Collector) AllVersions ¶
AllVersions 返回所有已知版本
func (*Collector) ArchivedVersions ¶
ArchivedVersions Return all archived versions
func (*Collector) StableVersions ¶
StableVersions Return all stable versions
Click to show internal directories.
Click to hide internal directories.