output

package
v0.0.0-...-e00298a Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOutputs

func NewOutputs(cfg *Config) (map[string]Interface, error)

NewOutputs -

Types

type Config

type Config struct {
	Elastic *elastic.Config `yaml:"elasticsearch,omitempty"`
}

Config -

type Interface

type Interface interface {
	Digest(documents []collection.Document) error
	Ensure(collection *collection.Collection) error
}

Interface interface to send msg to recipents

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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