Documentation ¶ Index ¶ func Eval(path, code string) (string, error) type Error type VM func Compile(path, code string) (*VM, error) func Load() (*VM, error) func (vm *VM) Close() error func (vm *VM) Eval(path, expr string) (string, error) func (vm *VM) Script(path, code string) error type Value Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Eval ¶ func Eval(path, code string) (string, error) Types ¶ type Error ¶ type Error = v8go.JSError type VM ¶ type VM struct { // contains filtered or unexported fields } func Compile ¶ func Compile(path, code string) (*VM, error) func Load ¶ func Load() (*VM, error) func (*VM) Close ¶ func (vm *VM) Close() error func (*VM) Eval ¶ func (vm *VM) Eval(path, expr string) (string, error) func (*VM) Script ¶ func (vm *VM) Script(path, code string) error Compile a script into the context type Value ¶ type Value = v8go.Value Source Files ¶ View all Source files v8.go Click to show internal directories. Click to hide internal directories.