offline

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: GPL-3.0 Imports: 26 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 RegisterHandler added in v0.12.0

func RegisterHandler(handlerInstance *HandlerInstance, r *mux.Router, np *NodeProcess) error

func Run

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

Types

type HandlerInstance

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

func (*HandlerInstance) CompileHandler

func (handlerInstance *HandlerInstance) CompileHandler() (inputFilePaths []string, err error)

func (*HandlerInstance) GetExecutionPath

func (handlerInstance *HandlerInstance) GetExecutionPath() string

func (*HandlerInstance) GetInputFiles added in v0.13.0

func (handlerInstance *HandlerInstance) GetInputFiles() []string

func (*HandlerInstance) SetExecutionPath

func (handlerInstance *HandlerInstance) SetExecutionPath(path string)

func (*HandlerInstance) SetInputFiles added in v0.13.0

func (handlerInstance *HandlerInstance) SetInputFiles(paths []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