downloader

package
v0.0.0-...-ae3587a Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: LGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Downloader

type Downloader struct {
	*worker.Worker
	// contains filtered or unexported fields
}

Downloader reads download jobs from kafka, downloads pictures from posts, stores them in S3

and writes the S3 path to posts

func New

func New(qReader *kafka.Reader, s3Config *config.S3Config, postgresConfig *config.PostgresConfig) *Downloader

New returns an initilized scraper

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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