libProgpV8

package module
v1.0.0 Latest Latest
Warning

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

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

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) AddDraftFunction

func (m *V8Engine) AddDraftFunction(functionName string)

func (*V8Engine) DisarmError

func (m *V8Engine) DisarmError(error *progpAPI.ScriptErrorMessage)

func (*V8Engine) ExecuteScript

func (m *V8Engine) ExecuteScript(scriptContent string, compiledFilePath string) *progpAPI.ScriptErrorMessage

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) 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