downloader

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginDownloader

type PluginDownloader interface {
	// DownloadPluginAndUnzip downloads the ZIP archive from the given URL, unzips it, and returns the plugin and its SHA
	DownloadPluginAndUnzip(url string) ([]byte, string, error)
}

func NewPluginDownloader

func NewPluginDownloader() PluginDownloader

NewPluginDownloader returns a new PluginDownloader

Jump to

Keyboard shortcuts

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