offline

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Unlicense Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NODE_HANDLER_WRAPPER string

Functions

func Run

func Run(filePath string, moduleName string, port 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 Metafile

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

type NodeProcess

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

func NewNodeProcess

func NewNodeProcess() (*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