worker

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 License: MIT Imports: 14 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(store store.Store) *Worker

New returns new instance of worker.

func (*Worker) ModifiedResources

func (w *Worker) ModifiedResources() map[string]time.Time

func (*Worker) Process

func (w *Worker) Process(resource govdata.Resource) 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