progpV8Engine

package module
v2.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

README

ProgpJS v2 - ProgV8Engine

This library is the javascript engine himself. It's where you found the wrapper for the V8 engine.

See https://github.com/progpjs/documentation for more information.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterEngine

func RegisterEngine()

Types

type AnyValueType

type AnyValueType int
const (
	AnyValueTypeUndefined AnyValueType = iota
	AnyValueTypeNull
	AnyValueTypeInvalid
	AnyValueTypeNumber
	AnyValueTypeString
	AnyValueTypeBoolean
	AnyValueTypeBuffer
	AnyValueTypeFunction
	AnyValueTypeJson
)

type V8Engine

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

func (*V8Engine) CreateNewScriptContext

func (m *V8Engine) CreateNewScriptContext(securityGroup string, mustDebug bool) progpAPI.JsContext

func (*V8Engine) GetEngineLanguage

func (m *V8Engine) GetEngineLanguage() string

func (*V8Engine) GetEngineName

func (m *V8Engine) GetEngineName() string

func (*V8Engine) GetInternalEngineVersion

func (m *V8Engine) GetInternalEngineVersion() string

func (*V8Engine) SetAllowedFunctionsChecker

func (m *V8Engine) SetAllowedFunctionsChecker(handler progpAPI.CheckAllowedFunctionsF)

func (*V8Engine) SetRuntimeErrorHandler

func (m *V8Engine) SetRuntimeErrorHandler(handler progpAPI.RuntimeErrorHandlerF)

func (*V8Engine) SetScriptTerminatedHandler

func (m *V8Engine) SetScriptTerminatedHandler(handler progpAPI.ScriptTerminatedHandlerF)

func (*V8Engine) Shutdown

func (m *V8Engine) Shutdown()

func (*V8Engine) Start

func (m *V8Engine) Start()

func (*V8Engine) WaitDebuggerReady

func (m *V8Engine) WaitDebuggerReady()

Directories

Path Synopsis
libs

Jump to

Keyboard shortcuts

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