c

package
v0.0.0-...-0161461 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrExtractorNotImplemented = errors.New("extractor not implemented yet")

ErrExtractorNotImplemented should be returned if an extractor is not implemented

View Source
var Verbose = false

Verbose controls verbosity.

Functions

This section is empty.

Types

type DownloadExtractorFunc

type DownloadExtractorFunc func(version string) (x86 *string, x86_64 *string, err error)

DownloadExtractorFunc represents a function which extracts a download link for a version. The version is just a hint if it is for string substitution. If not for string substitution, just return the latest version. It can return an nil string pointer for x86 or x86_64 if not available.

type VersionExtractorFunc

type VersionExtractorFunc func() (version string, err error)

VersionExtractorFunc represents a function which extracts the version.

Jump to

Keyboard shortcuts

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