adapter

package
v0.0.0-...-63fb21e Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutionResult

type ExecutionResult struct {
	Error      error
	SharedData map[string]any
	Logs       []entity.NewRunLog
}

type Javascript

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

func NewJavascriptAdapter

func NewJavascriptAdapter(objSave ObjectSaver) *Javascript

func (*Javascript) Execute

func (j *Javascript) Execute(code string, sharedData map[string]any) ExecutionResult

type ObjectSaver

type ObjectSaver interface {
	CreateObject(obj map[string]any, dynTabName string) error
}

Jump to

Keyboard shortcuts

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