goproxy

package
v0.0.0-...-9398901 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

README

goproxy Feed

This feed allows polling of package updates from the golang.org/index package repository.

Configuration options

The packages field is not supported by the goproxy feed.

feeds:
- type: goproxy

Documentation

Index

Constants

View Source
const (
	FeedName = "goproxy"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Feed

type Feed struct {
	// contains filtered or unexported fields
}

func New

func New(feedOptions feeds.FeedOptions) (*Feed, error)

func (Feed) GetFeedOptions

func (feed Feed) GetFeedOptions() feeds.FeedOptions

func (Feed) GetName

func (feed Feed) GetName() string

func (Feed) Latest

func (feed Feed) Latest(cutoff time.Time) ([]*feeds.Package, time.Time, []error)

type Package

type Package struct {
	Title        string
	ModifiedDate time.Time
	Version      string
}

type PackageJSON

type PackageJSON struct {
	Path      string `json:"Path"`
	Version   string `json:"Version"`
	Timestamp string `json:"Timestamp"`
}

Jump to

Keyboard shortcuts

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