registries

package
v0.0.0-...-33037e1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

type Registry struct {
	Fetcher             *services.Fetcher
	FetchHelper         *services.FetchHelper
	URLSubscriber       consumers.IConsumer
	ScrapedURLPublisher producers.TaskProducer
	Logger              log.Logger
}

func NewRegistry

func NewRegistry() *Registry

func (*Registry) Close

func (reg *Registry) Close()

func (*Registry) ConsumerHandler

func (reg *Registry) ConsumerHandler(deliveries <-chan amqp.Delivery, logger log.Logger)

func (*Registry) Retry

func (reg *Registry) Retry(url string, attempts uint)

Jump to

Keyboard shortcuts

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