Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Activity ¶
type Activity struct {
// contains filtered or unexported fields
}
Activity is a javascript activity
type Input ¶
type Input struct {
Parameters map[string]interface{} `md:"parameters"`
}
Input is the input into the javascript engine
type Output ¶
type Output struct {
Error bool `md:"error"`
ErrorMessage string `md:"errorMessage"`
Result map[string]interface{} `md:"result"`
}
Output is the output from the javascript engine
type Settings ¶
type Settings struct {
Script string `md:"script"`
}
Settings are the jsexec settings
type VM ¶
type VM struct {
// contains filtered or unexported fields
}
VM represents a VM object.
func (*VM) EvaluateToBool ¶
EvaluateToBool evaluates a string condition within the context of the VM.
func (*VM) SetPrimitiveInVM ¶
SetPrimitiveInVM sets primitive value in VM.
Click to show internal directories.
Click to hide internal directories.