sink

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2020 License: MPL-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 ProcessEventBatchFunc

type ProcessEventBatchFunc func([]event.Event) error

ProcessEventBatchFunc processess event batches

type Sink

type Sink interface {
	ProcessEventsBatch([]event.Event) error
	common.Common
}

Sink represent a generic sink that handles events

func Init

func Init(name string, v *viper.Viper) (s Sink, err error)

Init initializes a sink from a viper subtree

Directories

Path Synopsis
Package stub is used for testing
Package stub is used for testing

Jump to

Keyboard shortcuts

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