Versions in this module Expand all Collapse all v0 v0.0.1 Mar 21, 2026 Changes in this version type LayerEngine + func NewBlankLayerEngine() *LayerEngine + func (le *LayerEngine) LoadSpec(spec string) error v0.0.0 Mar 15, 2026 Changes in this version + func ConvertGoValueToLuaValue(input interface{}) lua.LValue + func ConvertGoValuesToLuaValues(inputs []interface{}) []lua.LValue + func ConvertLuaValueToGoValue(val lua.LValue) interface + func ConvertLuaValuesToGoValues(inputs []lua.LValue) []interface + func ParseAndCompileLuaCode(codeStr string) (*lua.FunctionProto, error) + type Layer struct + Code string + FnProto *lua.FunctionProto + Input []string + Name string + Output []string + type LayerEngine struct + func NewLayerEngine() *LayerEngine + func (le *LayerEngine) LoadFlow(flows map[string][]string) + func (le *LayerEngine) LoadLayers(layers []Layer) + func (le *LayerEngine) RunFlow(name string, inputValues map[string]any) (interface{}, error) + func (le *LayerEngine) RunLayer(name string, inputValues []any) (interface{}, error) + type LayerRunner struct + func NewLayerRunner() *LayerRunner + func (cr *LayerRunner) Close() + func (cr *LayerRunner) LoadFunction(fnProto *lua.FunctionProto) error + func (cr *LayerRunner) ReadResult(outputLen int) ([]lua.LValue, error) + func (cr *LayerRunner) RunFunction(funName string, arguments []lua.LValue, outputLen int) error + type RunType string + const FLOW + const LAYER