official

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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

func NewCollector(downloadPageURL string) (*Collector, error)

NewCollector 返回采集器实例

func (*Collector) AllVersions

func (c *Collector) AllVersions() (items []*version.Version, err error)

AllVersions 返回所有已知版本

func (*Collector) ArchivedVersions

func (c *Collector) ArchivedVersions() (items []*version.Version, err error)

ArchivedVersions Return all archived versions

func (*Collector) Name added in v1.7.0

func (c *Collector) Name() string

Name Collector name

func (*Collector) StableVersions

func (c *Collector) StableVersions() (items []*version.Version, err error)

StableVersions Return all stable versions

func (*Collector) UnstableVersions

func (c *Collector) UnstableVersions() (items []*version.Version, err error)

UnstableVersions Return all stable versions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL