worker

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Worker

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

Worker is responsible for processing incoming data.

func New

func New(s domain.Store, p domain.Parser) *Worker

New returns new instance of worker.

func (*Worker) Process

func (w *Worker) Process(ctx context.Context, packageID string) error

Process dispatches event as to a handler.

Jump to

Keyboard shortcuts

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