fetch

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(
	ctx context.Context,
	requests []string,
	concurrency int,
	traverseDirectories bool,
	process func(context.Context, int, *file.File) error,
) error

Do eases the process of locating data referenced at the command line. It will automatically detect bits arriving via stdin, make requests for urls, and expand local directories recursively to find all of their files. The process callback is invoked once for each item found.

Types

This section is empty.

Jump to

Keyboard shortcuts

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