processor

package
v0.0.0-...-27ac28c Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2019 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunAlert

func RunAlert(ctx context.Context, conf Config) error

func RunFetch

func RunFetch(ctx context.Context, conf Config) error

Types

type Config

type Config struct {
	Brokers    []string
	Topic      string
	RetryTopic string
	Group      string
	Delay      int

	AlertsService alerts.AlertsServiceClient
	FetchTopic    string
	AlertsTopic   string
	FetchURLs     []string

	System string
}

TODO: Config type for Alerts, Fetch w/ common core

Jump to

Keyboard shortcuts

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