Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector interface { // StableVersions 返回稳定版本列表 StableVersions() (items []*version.Version, err error) // UnstableVersions 返回非稳定版本列表 UnstableVersions() (items []*version.Version, err error) // ArchivedVersions 返回已归档版本列表 ArchivedVersions() (items []*version.Version, err error) // AllVersions 返回所有版本列表 AllVersions() (items []*version.Version, err error) }
Collector 版本信息采集器
func NewCollector ¶
NewCollector 返回首个可用的采集器实例
Click to show internal directories.
Click to hide internal directories.