retriever

package
v0.18.3 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPool

func NewPool(parallel int) pool

NewPool will create a pool of retrievers that you can throw work at.

Types

type DownloadResult

type DownloadResult struct {
	File     *os.File
	Size     int64
	Resolved *resolve.ResolvedStream
}

func Retrieve

func Retrieve(url, out string) (*DownloadResult, error)

Jump to

Keyboard shortcuts

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