concurrent

package
v0.0.0-...-fc4665f Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeginDownload

func BeginDownload(posts *[]e621.Post, saveDirectory *string, maxConcurrents *int) (*int, *int, *int)

BeginDownload takes a slice of posts, a directory to save them in, and a number of concurrent workers to make. It blocks until all the post have been processed. It returns the number of successes, failures, and the total amount of posts.

Types

This section is empty.

Jump to

Keyboard shortcuts

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