offline

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2025 License: GPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DebugConfig config.DebugConfig
View Source
var NODE_HANDLER_WRAPPER string

Functions

func Run

func Run(filePath string, moduleName string, port string, debugConfig config.DebugConfig, envFile string) error

func ServeHandler

func ServeHandler(handlerInstance *HandlerInstance, r *mux.Router)

Types

type HandlerInstance

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

func (*HandlerInstance) CompileHandler

func (handlerInstance *HandlerInstance) CompileHandler() (inputFilePaths []string)

func (*HandlerInstance) GetExecutionPath

func (handlerInstance *HandlerInstance) GetExecutionPath() string

func (*HandlerInstance) SetExecutionPath

func (handlerInstance *HandlerInstance) SetExecutionPath(path string)

func (*HandlerInstance) WatchForChanges

func (handlerInstance *HandlerInstance) WatchForChanges(inputFiles []string)

type HandlerOutput added in v0.5.0

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

type Metafile

type Metafile struct {
	Inputs map[string]interface{} `json:"inputs"`
}

type NodeProcess

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

func GetNodeProcess added in v0.1.8

func GetNodeProcess() (*NodeProcess, error)

func (*NodeProcess) Close

func (np *NodeProcess) Close()

func (*NodeProcess) Execute

func (np *NodeProcess) Execute(code string) error

Jump to

Keyboard shortcuts

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