source

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source interface {
	Subscribe(sink.Sink)
	Start()
	Flush() error

	common.Common
}

Source represent a generic source that produces events

func Init

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

Init initializes a source from a viper subtree

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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