scripting

package
v0.0.0-...-112ff1b Latest Latest
Warning

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

Go to latest
Published: May 28, 2014 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutorResult

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

func NewExecutorResult

func NewExecutorResult(v *v8.Value) *ExecutorResult

func (*ExecutorResult) Boolean

func (er *ExecutorResult) Boolean() bool

func (*ExecutorResult) Float

func (er *ExecutorResult) Float() float64

func (*ExecutorResult) Integer

func (er *ExecutorResult) Integer() int64

func (*ExecutorResult) String

func (er *ExecutorResult) String() string

type ScriptEngine

type ScriptEngine struct {
	Name string
	// contains filtered or unexported fields
}

func NewScriptEngine

func NewScriptEngine(name string) *ScriptEngine

func (*ScriptEngine) GetWrappedArguments

func (se *ScriptEngine) GetWrappedArguments(args ...interface{}) []*v8.Value

type ScriptExecutor

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

func NewScriptExecutor

func NewScriptExecutor(config interfaces.Config) (*ScriptExecutor, error)

func (*ScriptExecutor) Execute

func (se *ScriptExecutor) Execute(engineName, functionName string, arguments ...interface{}) (interfaces.ExecutorResult, error)

Jump to

Keyboard shortcuts

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