workers

package
v0.0.0-...-e59a558 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateObjectWorker

func CreateObjectWorker(jt *jobtracker.JobTracker, f string, context jobtracker.Context)

func DownloadWorker

func DownloadWorker(jt *jobtracker.JobTracker, file string, context jobtracker.Context)

func FindObjectsWorker

func FindObjectsWorker(jt *jobtracker.JobTracker, obj string, context jobtracker.Context)

func FindRefWorker

func FindRefWorker(jt *jobtracker.JobTracker, path string, context jobtracker.Context)

func RecursiveDownloadWorker

func RecursiveDownloadWorker(jt *jobtracker.JobTracker, f string, context jobtracker.Context)

Types

type CreateObjectContext

type CreateObjectContext struct {
	BaseDir string
	Storage *filesystem.ObjectStorage
	Index   *index.Index
}

type DownloadContext

type DownloadContext struct {
	C           *fasthttp.Client
	BaseUrl     string
	BaseDir     string
	AllowHtml   bool
	AlllowEmpty bool
}

type FindObjectsContext

type FindObjectsContext struct {
	C       *fasthttp.Client
	BaseUrl string
	BaseDir string
	Storage *filesystem.ObjectStorage
}

type FindRefContext

type FindRefContext struct {
	C       *fasthttp.Client
	BaseUrl string
	BaseDir string
}

type RecursiveDownloadContext

type RecursiveDownloadContext struct {
	C       *fasthttp.Client
	BaseUrl string
	BaseDir string
}

Jump to

Keyboard shortcuts

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