Documentation
¶
Index ¶
- func RegisterEngine()
- type AnyValueType
- type V8Engine
- func (m *V8Engine) CreateNewScriptContext(securityGroup string, mustDebug bool) progpAPI.JsContext
- func (m *V8Engine) GetEngineLanguage() string
- func (m *V8Engine) GetEngineName() string
- func (m *V8Engine) GetInternalEngineVersion() string
- func (m *V8Engine) SetAllowedFunctionsChecker(handler progpAPI.CheckAllowedFunctionsF)
- func (m *V8Engine) SetRuntimeErrorHandler(handler progpAPI.RuntimeErrorHandlerF)
- func (m *V8Engine) SetScriptTerminatedHandler(handler progpAPI.ScriptTerminatedHandlerF)
- func (m *V8Engine) Shutdown()
- func (m *V8Engine) Start()
- func (m *V8Engine) WaitDebuggerReady()
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 (*V8Engine) GetEngineLanguage ¶
func (*V8Engine) GetEngineName ¶
func (*V8Engine) GetInternalEngineVersion ¶
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) WaitDebuggerReady ¶
func (m *V8Engine) WaitDebuggerReady()
Click to show internal directories.
Click to hide internal directories.