fetcher

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Overview

* SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) Lewis Cook <lcook@FreeBSD.org> * All rights reserved.

* SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) Lewis Cook <lcook@FreeBSD.org> * All rights reserved.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPackages

func GetPackages(p PackageFetcher) (*Packages, error)

Types

type PackageFetcher

type PackageFetcher interface {
	Fetch() (*Packages, error)
	Transform(*Package) (*Package, error)
}

type Portscout

type Portscout struct{}

func (Portscout) Fetch

func (ps Portscout) Fetch() (*Packages, error)

func (Portscout) Transform

func (ps Portscout) Transform(pkg *Package) (*Package, error)

Jump to

Keyboard shortcuts

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