grabui

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBatch

func GetBatch(
	ctx context.Context,
	workers int,
	dst string,
	urlStrs ...string,
) (<-chan *grab.Response, error)

Types

type ConsoleClient

type ConsoleClient struct {
	// contains filtered or unexported fields
}

func NewConsoleClient

func NewConsoleClient(client *grab.Client) *ConsoleClient

func (*ConsoleClient) Do

func (c *ConsoleClient) Do(
	ctx context.Context,
	workers int,
	reqs ...*grab.Request,
) <-chan *grab.Response

Jump to

Keyboard shortcuts

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