Documentation
¶
Index ¶
- type Job
- type JobResult
- type Output
- type Progress
- type Result
- type Worker
- type WorkerOption
- func WithConcurrence(c int) WorkerOption
- func WithProgressBar(pb Progress) WorkerOption
- func WithReqHost(reqHost string) WorkerOption
- func WithReqPerSession(reqPerSession bool) WorkerOption
- func WithResultCh(ch chan *Result) WorkerOption
- func WithTimeout(timeout int) WorkerOption
- func WithUseEmbedFS(useEmbedFS bool) WorkerOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkerOption ¶
type WorkerOption func(*Worker)
func WithConcurrence ¶
func WithConcurrence(c int) WorkerOption
func WithProgressBar ¶
func WithProgressBar(pb Progress) WorkerOption
func WithReqHost ¶
func WithReqHost(reqHost string) WorkerOption
func WithReqPerSession ¶
func WithReqPerSession(reqPerSession bool) WorkerOption
func WithResultCh ¶
func WithResultCh(ch chan *Result) WorkerOption
func WithTimeout ¶
func WithTimeout(timeout int) WorkerOption
func WithUseEmbedFS ¶
func WithUseEmbedFS(useEmbedFS bool) WorkerOption
Click to show internal directories.
Click to hide internal directories.