resolver

package
v0.0.1-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithDefaultMatcher

func WithDefaultMatcher() matcherOptions

func WithNameMatcher

func WithNameMatcher(name string) matcherOptions

Types

type AssetItem

type AssetItem struct {
	Name      string
	IsArchive bool
	IsMD5     bool
	URL       string
}

type Matcher

type Matcher struct {
	Selected AssetItem
	// contains filtered or unexported fields
}

func NewMatcher

func NewMatcher(assets []AssetItem, opts ...matcherOptions) *Matcher

type Resolver

type Resolver interface {
	GetVersions(string) ([]string, error)
	GetReleaseAssets(string, string) ([]AssetItem, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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