Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
func New ¶
func New(runtime *bridge.Runtime, filesystem *fs.Module, allowExec bool, startedAt time.Time, hostVersion, hostVersionHash string, reportError func(*goja.Runtime, []goja.Value)) *Module
New constructs the process module. hostVersion and hostVersionHash are reported via process.versions and are the embedding application's own version identity, not part of the JS runtime itself; an empty hostVersion falls back to "unknown".
Click to show internal directories.
Click to hide internal directories.