goja

package
v0.0.0-...-3e59879 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bind

func Bind(vm *goja.Runtime, astral apphost.Flat) (err error)

Types

type Backend

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

func NewBackend

func NewBackend(flat apphost.Flat) *Backend

func (*Backend) Run

func (b *Backend) Run(app string) (err error)

func (*Backend) RunFs

func (b *Backend) RunFs(appFs fs.FS) (err error)

func (*Backend) RunPath

func (b *Backend) RunPath(app string) (err error)

func (*Backend) RunSource

func (b *Backend) RunSource(app string) (err error)

Jump to

Keyboard shortcuts

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