Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { // Dir is the working directory for the VM. Default is the same working // directory and currently running Go process. Dir string // Flags are the additional startup flags that are provided to the "node" // process. Flags []string // sort is the port to run the websocket server on. This defaults to 6543. Port int // Stdout is the output writer for the VM. Default is os.Stdout. Stdout io.Writer // Stderr is the error writer for the VM. Default is os.Stderr. Stderr io.Writer // Env is the environment variables to be set for the VM. Env []string // NodeProcesses is the number of node processes to run. Default is 5. NodeProcesses int // Logger is the logger to be used for the VM. Logger *slog.Logger }
Options for VM
Click to show internal directories.
Click to hide internal directories.