kafkaflow

package
v0.0.0-...-b631e0d Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Printer

type Printer struct {
	flow.Component
	Line <-chan string
}

Printer is a component for printing to stdout

func (*Printer) OnLine

func (p *Printer) OnLine(line string)

OnLine Prints the current line received

type Upper

type Upper struct {
	flow.Component
	Val <-chan string
	Res chan<- string
}

Upper upper cases the incoming stream

func (*Upper) OnVal

func (e *Upper) OnVal(val string)

OnVal does the encoding then pushes the result onto Res

type UpperApp

type UpperApp struct {
	flow.Graph
}

UpperApp creates a flow-based pipeline to upper case and print the result

func NewUpperApp

func NewUpperApp() *UpperApp

NewUpperApp wires together the compoents

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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