parallel

package
v0.0.0-...-fdc9217 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapFill

func MapFill(
	in <-chan Fillable,
	maxRequests int,
	progress progress.Progress,
	settings *htmlparsing.Settings,
) error

MapFill calls Fill on all objects passed in the in channel, making at most maxRequests parallel calls. It increments progress each time it finishes a single call, and calls Done in the end.

Types

type Fillable

type Fillable interface {
	Fill(settings *htmlparsing.Settings) error
}

Fillable types have a Fill method which downloads extra data for the object from online sources

Jump to

Keyboard shortcuts

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