processing

package
v0.0.0-...-0ca8774 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2017 License: Apache-2.0, Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Process

func Process(in Decoder, out io.Writer, w Worker, m Marshaler, workers uint)

Types

type Decoder

type Decoder interface {
	DecodeNext() (interface{}, error)
}

type Handler

type Handler func(interface{}) interface{}

type Marshaler

type Marshaler interface {
	Marshal(interface{}) ([]byte, error)
}

type Worker

type Worker interface {
	MakeHandler(uint) Handler
	Success() uint
	Failure() uint
	Total() uint
	Done()
}

Jump to

Keyboard shortcuts

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