execution

package
v0.0.0-...-1c95f08 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LIMIT   = "limit"
	FOREACH = "foreach"
	FILTER  = "filter"
	MAP     = "map"
	FOLD    = "fold"
)

Variables

View Source
var LuaPool *lStatePool = nil

Functions

This section is empty.

Types

type Execution

type Execution interface {
	ExecuteJob(message []byte, job *cluster.StartJob) (bool, error)
}

type LuaExecutor

type LuaExecutor struct {
	// contains filtered or unexported fields
}

func NewLuaExecution

func NewLuaExecution(eventsProducer events.EventsProducer) (*LuaExecutor, error)

func (*LuaExecutor) ExecuteJob

func (e *LuaExecutor) ExecuteJob(message []byte, job *cluster.StartJob) (bool, error)

Jump to

Keyboard shortcuts

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