intf

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2016 License: MIT Imports: 0 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Format

type Format interface {
	Parse(line string) Record
}

type Input

type Input interface {
	GetRecord() Record
	IsEOF() bool
	Teardown()
}

type Output

type Output interface {
	PutRecord(record Record) bool
}

type PostProcessor

type PostProcessor interface {
	SetChannel(channel chan Record)
	Do(record Record) bool
	Teardown()
}

type PreProcessor

type PreProcessor interface {
	Do(line string)
}

type Record

type Record map[string]interface{}

type Writer

type Writer interface {
	IsAlive() bool
	Setup()
	Boot()
	GetCounters() (int32, int32, int32, int32)
	ResetCounters()
	Teardown()
}

Jump to

Keyboard shortcuts

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