processing

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2015 License: Apache-2.0 Imports: 2 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()
	RunCount() uint
}

Jump to

Keyboard shortcuts

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