processor

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

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

Go to latest
Published: Dec 18, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DownloadFailedError

type DownloadFailedError struct {
}

func (*DownloadFailedError) Error

func (e *DownloadFailedError) Error() string

type FileInfo

type FileInfo struct {
	FileLink string
	FileName string
}

type Processor

type Processor struct {
	Net *net.Net
	Cfg *cf.Config
}

func NewProcessor

func NewProcessor(cfg *cf.Config, net *net.Net) *Processor

func (*Processor) ProcessPages

func (p *Processor) ProcessPages(totalPages int, pages chan int, links chan *FileInfo)

func (*Processor) TotalPages

func (p *Processor) TotalPages() int

type StopIterationError

type StopIterationError struct {
}

func (*StopIterationError) Error

func (e *StopIterationError) Error() string

Jump to

Keyboard shortcuts

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