com

package
v1.35.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadChapter added in v1.35.0

func DownloadChapter(url, outputDir string, e *ext.Extractor, retry uint) (<-chan Progress, <-chan error, <-chan any)

Types

type Progress

type Progress struct {
	Size       int64 `json:"size"`
	Count      int   `json:"count"`
	TotalCount int   `json:"total_count"`
}

type Updater added in v1.24.0

type Updater struct {
	Filename    string
	Output      string
	MakeArchive bool
	DryRun      bool
	Retry       uint

	OnError   func(error)
	OnMessage func(string)
	// contains filtered or unexported fields
}

func (Updater) Update added in v1.24.0

func (u Updater) Update()

Jump to

Keyboard shortcuts

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