workers

package
v0.0.0-...-b3410d0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GettyImagesVisitorWorker

func GettyImagesVisitorWorker(wi int, visitchan chan GettyImagesVisitJob, savechan chan StoreResultsJob)

func SrcSaverWorker

func SrcSaverWorker(st *storage.StructDB, savechan chan StoreResultsJob)

Types

type GettyImagesVisitJob

type GettyImagesVisitJob struct {
	Keyword string
	Page    int
	Wg      *sync.WaitGroup
}

type StoreResultsJob

type StoreResultsJob struct {
	Keyword string
	Srcs    []string
}

Jump to

Keyboard shortcuts

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