download

package
v0.0.0-...-9e8ec43 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImagesSingly

func ImagesSingly(url string, thread *Download)

Types

type Bar

type Bar struct {
	ArrayLength int
	// contains filtered or unexported fields
}

func NewProgress

func NewProgress(ArrayLength int, style string) *Bar

func (*Bar) AddProgressCount

func (bar *Bar) AddProgressCount(current_count int)

func (*Bar) ProgressEnd

func (bar *Bar) ProgressEnd()

type Download

type Download struct {
	DownloadArray []string
	ArrayLength   int
	Illusts       []pixivstruct.Illust
	Thread        *threadpool.ThreadStruct
	Progress      *Bar
}

func DownloadTask

func DownloadTask(Illusts []pixivstruct.Illust, start bool) *Download

Jump to

Keyboard shortcuts

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