cache

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Package

type Package struct {
	Description string `json:"description"`
	Name        string `json:"pname"`
	Version     string `json:"version"`
}

type PackageCache

type PackageCache struct {
	Packages PackageList
	// contains filtered or unexported fields
}

func New

func New() (*PackageCache, error)

func (*PackageCache) Update

func (pc *PackageCache) Update() error

type PackageList

type PackageList map[string]Package

type SearchResult added in v0.9.0

type SearchResult struct {
	Name    string  `json:"name"`
	Package Package `json:"package"`
}

Jump to

Keyboard shortcuts

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