sources

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObservableSource

type ObservableSource struct {
	// contains filtered or unexported fields
}

Observable source is a wrapper of all sources augmenting the schema graph with the 'observed' relation. All assets produced by the wrapped source are therefore 'observed' by the source itself

func NewObservableSource

func NewObservableSource(s Source) ObservableSource

func (*ObservableSource) Start

func (*ObservableSource) Stop

func (os *ObservableSource) Stop() error

type Source

type Source interface {
	Start(emitter *knowledge.GraphImporter) error
	Stop() error
}

Source represent a source of data

Jump to

Keyboard shortcuts

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