fetcher

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager represents a fetcher manager

func NewManager

func NewManager(cfg *config.Config, pool *worker.Pool, store *psql.Store, client figmentclient.Client) (*Manager, error)

NewManager creates a fetcher manager

func (*Manager) Run

func (m *Manager) Run() error

Run starts the fetcher manager

type Worker

type Worker struct {
	// contains filtered or unexported fields
}

Worker represents a fetcher worker

func NewWorker

func NewWorker(cfg *config.Config, client figmentclient.Client, dl *datalake.DataLake) *Worker

NewWorker creates a fetcher worker

func (*Worker) Run

func (w *Worker) Run() error

Run starts the fetcher worker

Jump to

Keyboard shortcuts

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