goflow

package module
v0.0.0-...-ea3c94a Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEncodingApp

func NewEncodingApp() *goflow.Graph

NewEncodingApp wires together the components

Types

type Encoder

type Encoder struct {
	Val <-chan string
	Res chan<- string
}

Encoder base64 encodes all input

func (*Encoder) Process

func (e *Encoder) Process()

Process does the encoding then pushes the result onto Res

type Printer

type Printer struct {
	Line <-chan string
}

Printer is a component for printing to stdout

func (*Printer) Process

func (p *Printer) Process()

Process Prints the current line received

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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