feed

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Since     time.Duration
	Ecosystem string
	Limit     int
}

type Result

type Result struct {
	Since     string                `json:"since"`
	Ecosystem string                `json:"ecosystem,omitempty"`
	Limit     int                   `json:"limit"`
	Total     int                   `json:"total"`
	Shown     int                   `json:"shown"`
	Window    source.WindowStats    `json:"window"`
	Corpus    source.CorpusStats    `json:"corpus,omitempty"`
	Packages  []source.PackageEntry `json:"packages"`
	FromCache bool                  `json:"-"`
	Source    string                `json:"source,omitempty"`
}

type Service

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

func NewService

func NewService(cfg *config.Config, provider intel.Provider) *Service

func (*Service) List

func (s *Service) List(ctx context.Context, opts Options) (*Result, error)

Jump to

Keyboard shortcuts

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