gearman

package
v3.8.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

README

gearman

-- import "gopkg.in/Clever/optimus.v3/sources/gearman"

Usage

func New
func New(client gearman.Client, fn string, workload []byte,
	converter func([]byte) (optimus.Row, error)) optimus.Table

New returns a new Table that outputs the worker data from a Gearman job. Converter should be a function that knows how to take a data event from Gearman and turn it into a Row.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(client gearman.Client, fn string, workload []byte,
	converter func([]byte) (optimus.Row, error)) optimus.Table

New returns a new Table that outputs the worker data from a Gearman job. Converter should be a function that knows how to take a data event from Gearman and turn it into a Row.

Types

This section is empty.

Jump to

Keyboard shortcuts

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