sink

package
v0.0.0-...-efe2023 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package source defines the event sink, and offers the following default implementations:

  • Debug: Prints human readable strings to standard output.
  • gRPC: Sends events using remote procedure calls.
  • Go plugin: Sends events to a go plugin.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DebugSink

type DebugSink struct {
	events.Streamer
}

func (*DebugSink) Load

func (d *DebugSink) Load(stream events.Streamer) error

func (*DebugSink) Start

func (d *DebugSink) Start() error

func (*DebugSink) Stop

func (*DebugSink) Stop() error

type Sink

type Sink interface {
	unit.Unit
	events.Watcher
}

Jump to

Keyboard shortcuts

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