Documentation ¶
Index ¶
- type CallArgument
- type CallFrame
- type CommandAwaitPromise
- type CommandCallFunctionOn
- type CommandCompileScript
- type CommandDiscardConsoleEntries
- type CommandEvaluate
- type CommandGetProperties
- type CommandGlobalLexicalScopeNames
- type CommandQueryObjects
- type CommandReleaseObject
- type CommandReleaseObjectGroup
- type CommandRunIfWaitingForDebugger
- type CommandRunScript
- type CommandRuntimeDisable
- type CommandRuntimeEnable
- type CommandSetCustomObjectFormatterEnabled
- type CustomPreview
- type EntryPreview
- type EventConsoleAPICalled
- type EventConsoleAPICalledType
- type EventExceptionRevoked
- type EventExceptionThrown
- type EventExecutionContextCreated
- type EventExecutionContextDestroyed
- type EventExecutionContextsCleared
- type EventInspectRequested
- type ExceptionDetails
- type ExecutionContextDescription
- type ExecutionContextId
- type InternalPropertyDescriptor
- type ObjectPreview
- type ObjectPreviewSubtype
- type ObjectPreviewType
- type PropertyDescriptor
- type PropertyPreview
- type PropertyPreviewSubtype
- type PropertyPreviewType
- type RemoteObject
- type RemoteObjectId
- type RemoteObjectSubtype
- type RemoteObjectType
- type ResponseAwaitPromise
- type ResponseCallFunctionOn
- type ResponseCompileScript
- type ResponseEvaluate
- type ResponseGetProperties
- type ResponseGlobalLexicalScopeNames
- type ResponseQueryObjects
- type ResponseRunScript
- type ScriptId
- type StackTrace
- type StackTraceId
- type TargetCallFramesType
- type Timestamp
- type UniqueDebuggerId
- type UnserializableValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallArgument ¶
type CallArgument struct { Value interface{} `json:"value"` UnserializableValue *UnserializableValue `json:"unserializableValue"` ObjectId *RemoteObjectId `json:"objectId"` }
type CommandAwaitPromise ¶
type CommandAwaitPromise struct { PromiseObjectId *RemoteObjectId `json:"promiseObjectId"` ReturnByValue bool `json:"returnByValue"` GeneratePreview bool `json:"generatePreview"` }
type CommandCallFunctionOn ¶
type CommandCallFunctionOn struct { FunctionDeclaration string `json:"functionDeclaration"` ObjectId *RemoteObjectId `json:"objectId"` Arguments []*CallArgument `json:"arguments"` Silent bool `json:"silent"` ReturnByValue bool `json:"returnByValue"` GeneratePreview bool `json:"generatePreview"` UserGesture bool `json:"userGesture"` AwaitPromise bool `json:"awaitPromise"` ExecutionContextId *ExecutionContextId `json:"executionContextId"` ObjectGroup string `json:"objectGroup"` }
type CommandCompileScript ¶
type CommandCompileScript struct { Expression string `json:"expression"` SourceURL string `json:"sourceURL"` PersistScript bool `json:"persistScript"` ExecutionContextId *ExecutionContextId `json:"executionContextId"` }
type CommandDiscardConsoleEntries ¶
type CommandDiscardConsoleEntries struct { }
type CommandEvaluate ¶
type CommandEvaluate struct { Expression string `json:"expression"` ObjectGroup string `json:"objectGroup"` IncludeCommandLineAPI bool `json:"includeCommandLineAPI"` Silent bool `json:"silent"` ContextId *ExecutionContextId `json:"contextId"` ReturnByValue bool `json:"returnByValue"` GeneratePreview bool `json:"generatePreview"` UserGesture bool `json:"userGesture"` AwaitPromise bool `json:"awaitPromise"` }
type CommandGetProperties ¶
type CommandGetProperties struct { ObjectId *RemoteObjectId `json:"objectId"` OwnProperties bool `json:"ownProperties"` AccessorPropertiesOnly bool `json:"accessorPropertiesOnly"` GeneratePreview bool `json:"generatePreview"` }
type CommandGlobalLexicalScopeNames ¶
type CommandGlobalLexicalScopeNames struct {
ExecutionContextId *ExecutionContextId `json:"executionContextId"`
}
type CommandQueryObjects ¶
type CommandQueryObjects struct {
PrototypeObjectId *RemoteObjectId `json:"prototypeObjectId"`
}
type CommandReleaseObject ¶
type CommandReleaseObject struct {
ObjectId *RemoteObjectId `json:"objectId"`
}
type CommandReleaseObjectGroup ¶
type CommandReleaseObjectGroup struct {
ObjectGroup string `json:"objectGroup"`
}
type CommandRunIfWaitingForDebugger ¶
type CommandRunIfWaitingForDebugger struct { }
type CommandRunScript ¶
type CommandRunScript struct { ScriptId *ScriptId `json:"scriptId"` ExecutionContextId *ExecutionContextId `json:"executionContextId"` ObjectGroup string `json:"objectGroup"` Silent bool `json:"silent"` IncludeCommandLineAPI bool `json:"includeCommandLineAPI"` ReturnByValue bool `json:"returnByValue"` GeneratePreview bool `json:"generatePreview"` AwaitPromise bool `json:"awaitPromise"` }
type CommandRuntimeDisable ¶
type CommandRuntimeDisable struct { }
type CommandRuntimeEnable ¶
type CommandRuntimeEnable struct { }
type CommandSetCustomObjectFormatterEnabled ¶
type CommandSetCustomObjectFormatterEnabled struct {
Enabled bool `json:"enabled"`
}
type CustomPreview ¶
type CustomPreview struct { Header string `json:"header"` HasBody bool `json:"hasBody"` FormatterObjectId *RemoteObjectId `json:"formatterObjectId"` BindRemoteObjectFunctionId *RemoteObjectId `json:"bindRemoteObjectFunctionId"` ConfigObjectId *RemoteObjectId `json:"configObjectId"` }
type EntryPreview ¶
type EntryPreview struct { Key *ObjectPreview `json:"key"` Value *ObjectPreview `json:"value"` }
type EventConsoleAPICalled ¶
type EventConsoleAPICalled struct { Type *EventConsoleAPICalledType `json:"type"` Args []*RemoteObject `json:"args"` ExecutionContextId *ExecutionContextId `json:"executionContextId"` Timestamp *Timestamp `json:"timestamp"` StackTrace *StackTrace `json:"stackTrace"` Context string `json:"context"` }
type EventConsoleAPICalledType ¶
type EventConsoleAPICalledType string
const ( EventConsoleAPICalledTypeLog EventConsoleAPICalledType = "log" EventConsoleAPICalledTypeDebug EventConsoleAPICalledType = "debug" EventConsoleAPICalledTypeInfo EventConsoleAPICalledType = "info" EventConsoleAPICalledTypeError EventConsoleAPICalledType = "error" EventConsoleAPICalledTypeWarning EventConsoleAPICalledType = "warning" EventConsoleAPICalledTypeDir EventConsoleAPICalledType = "dir" EventConsoleAPICalledTypeDirXml EventConsoleAPICalledType = "dirxml" EventConsoleAPICalledTypeTable EventConsoleAPICalledType = "table" EventConsoleAPICalledTypeTrace EventConsoleAPICalledType = "trace" EventConsoleAPICalledTypeClear EventConsoleAPICalledType = "clear" EventConsoleAPICalledTypeStartGroup EventConsoleAPICalledType = "startGroup" EventConsoleAPICalledTypeStartGroupCollapsed EventConsoleAPICalledType = "startGroupCollapsed" EventConsoleAPICalledTypeEndGroup EventConsoleAPICalledType = "endGroup" EventConsoleAPICalledTypeAssert EventConsoleAPICalledType = "assert" EventConsoleAPICalledTypeProfile EventConsoleAPICalledType = "profile" EventConsoleAPICalledTypeProfileEnd EventConsoleAPICalledType = "profileEnd" EventConsoleAPICalledTypeCount EventConsoleAPICalledType = "count" EventConsoleAPICalledTypeTimeEnd EventConsoleAPICalledType = "timeEnd" )
type EventExceptionRevoked ¶
type EventExceptionThrown ¶
type EventExceptionThrown struct { Timestamp *Timestamp `json:"timestamp"` ExceptionDetails *ExceptionDetails `json:"exceptionDetails"` }
type EventExecutionContextCreated ¶
type EventExecutionContextCreated struct {
Context *ExecutionContextDescription `json:"context"`
}
type EventExecutionContextDestroyed ¶
type EventExecutionContextDestroyed struct {
ExecutionContextId *ExecutionContextId `json:"executionContextId"`
}
type EventExecutionContextsCleared ¶
type EventExecutionContextsCleared struct { }
type EventInspectRequested ¶
type EventInspectRequested struct { Object *RemoteObject `json:"object"` Hints interface{} `json:"hints"` }
type ExceptionDetails ¶
type ExceptionDetails struct { ExceptionId int `json:"exceptionId"` Text string `json:"text"` LineNumber int `json:"lineNumber"` ColumnNumber int `json:"columnNumber"` ScriptId *ScriptId `json:"scriptId"` Url string `json:"url"` StackTrace *StackTrace `json:"stackTrace"` Exception *RemoteObject `json:"exception"` ExecutionContextId *ExecutionContextId `json:"executionContextId"` }
type ExecutionContextDescription ¶
type ExecutionContextDescription struct { Id *ExecutionContextId `json:"id"` Origin string `json:"origin"` Name string `json:"name"` AuxData interface{} `json:"auxData"` }
type ExecutionContextId ¶
type ExecutionContextId int
type InternalPropertyDescriptor ¶
type InternalPropertyDescriptor struct { Name string `json:"name"` Value *RemoteObject `json:"value"` }
type ObjectPreview ¶
type ObjectPreview struct { Type *ObjectPreviewType `json:"type"` Subtype *ObjectPreviewSubtype `json:"subtype"` Description string `json:"description"` Overflow bool `json:"overflow"` Properties *PropertyPreview `json:"properties"` Entries *EntryPreview `json:"entries"` }
type ObjectPreviewSubtype ¶
type ObjectPreviewSubtype string
const ( ObjectPreviewSubtypeArray ObjectPreviewSubtype = "array" ObjectPreviewSubtypeNull ObjectPreviewSubtype = "null" ObjectPreviewSubtypeNode ObjectPreviewSubtype = "node" ObjectPreviewSubtypeRegexp ObjectPreviewSubtype = "regexp" ObjectPreviewSubtypeDate ObjectPreviewSubtype = "date" ObjectPreviewSubtypeMap ObjectPreviewSubtype = "map" ObjectPreviewSubtypeSet ObjectPreviewSubtype = "set" ObjectPreviewSubtypeWeakmap ObjectPreviewSubtype = "weakmap" ObjectPreviewSubtypeWeakset ObjectPreviewSubtype = "weakset" ObjectPreviewSubtypeIterator ObjectPreviewSubtype = "iterator" ObjectPreviewSubtypeGenerator ObjectPreviewSubtype = "generator" ObjectPreviewSubtypeError ObjectPreviewSubtype = "error" )
type ObjectPreviewType ¶
type ObjectPreviewType string
const ( ObjectPreviewTypeObject ObjectPreviewType = "object" ObjectPreviewTypeFunction ObjectPreviewType = "function" ObjectPreviewTypeUndefined ObjectPreviewType = "undefined" ObjectPreviewTypeString ObjectPreviewType = "string" ObjectPreviewTypeNumber ObjectPreviewType = "number" ObjectPreviewTypeBoolean ObjectPreviewType = "boolean" ObjectPreviewTypeSymbol ObjectPreviewType = "symbol" )
type PropertyDescriptor ¶
type PropertyDescriptor struct { Name string `json:"name"` Value *RemoteObject `json:"value"` Writable bool `json:"writable"` Get *RemoteObject `json:"get"` Set *RemoteObject `json:"set"` Configurable bool `json:"configurable"` Enumerable bool `json:"enumerable"` WasThrown bool `json:"wasThrown"` IsOwn bool `json:"isOwn"` Symbol *RemoteObject `json:"symbol"` }
type PropertyPreview ¶
type PropertyPreview struct { Name string `json:"name"` Type *PropertyPreviewType `json:"type"` Value string `json:"value"` ValuePreview *ObjectPreview `json:"valuePreview"` Subtype *PropertyPreviewSubtype `json:"subtype"` }
type PropertyPreviewSubtype ¶
type PropertyPreviewSubtype string
const ( PropertyPreviewSubtypeArray PropertyPreviewSubtype = "array" PropertyPreviewSubtypeNull PropertyPreviewSubtype = "null" PropertyPreviewSubtypeNode PropertyPreviewSubtype = "node" PropertyPreviewSubtypeRegexp PropertyPreviewSubtype = "regexp" PropertyPreviewSubtypeDate PropertyPreviewSubtype = "date" PropertyPreviewSubtypeMap PropertyPreviewSubtype = "map" PropertyPreviewSubtypeSet PropertyPreviewSubtype = "set" PropertyPreviewSubtypeWeakmap PropertyPreviewSubtype = "weakmap" PropertyPreviewSubtypeWeakset PropertyPreviewSubtype = "weakset" PropertyPreviewSubtypeIterator PropertyPreviewSubtype = "iterator" PropertyPreviewSubtypeGenerator PropertyPreviewSubtype = "generator" PropertyPreviewSubtypeError PropertyPreviewSubtype = "error" )
type PropertyPreviewType ¶
type PropertyPreviewType string
const ( PropertyPreviewTypeObject PropertyPreviewType = "object" PropertyPreviewTypeFunction PropertyPreviewType = "function" PropertyPreviewTypeUndefined PropertyPreviewType = "undefined" PropertyPreviewTypeString PropertyPreviewType = "string" PropertyPreviewTypeNumber PropertyPreviewType = "number" PropertyPreviewTypeBoolean PropertyPreviewType = "boolean" PropertyPreviewTypeSymbol PropertyPreviewType = "symbol" PropertyPreviewTypeAccessor PropertyPreviewType = "accessor" )
type RemoteObject ¶
type RemoteObject struct { Type *RemoteObjectType `json:"type"` Subtype *RemoteObjectSubtype `json:"subtype"` ClassName string `json:"className"` Value interface{} `json:"value"` UnserializableValue *UnserializableValue `json:"unserializableValue"` Description string `json:"description"` ObjectId *RemoteObjectId `json:"objectId"` Preview *ObjectPreview `json:"preview"` CustomPreview *CustomPreview `json:"customPreview"` }
type RemoteObjectId ¶
type RemoteObjectId string
type RemoteObjectSubtype ¶
type RemoteObjectSubtype string
const ( RemoteObjectSubtypeArray RemoteObjectSubtype = "array" RemoteObjectSubtypeNull RemoteObjectSubtype = "null" RemoteObjectSubtypeNode RemoteObjectSubtype = "node" RemoteObjectSubtypeRegexp RemoteObjectSubtype = "regexp" RemoteObjectSubtypeDate RemoteObjectSubtype = "date" RemoteObjectSubtypeMap RemoteObjectSubtype = "map" RemoteObjectSubtypeSet RemoteObjectSubtype = "set" RemoteObjectSubtypeWeakmap RemoteObjectSubtype = "weakmap" RemoteObjectSubtypeWeakset RemoteObjectSubtype = "weakset" RemoteObjectSubtypeIterator RemoteObjectSubtype = "iterator" RemoteObjectSubtypeGenerator RemoteObjectSubtype = "generator" RemoteObjectSubtypeError RemoteObjectSubtype = "error" RemoteObjectSubtypeProxy RemoteObjectSubtype = "proxy" RemoteObjectSubtypePromise RemoteObjectSubtype = "promise" RemoteObjectSubtypeTypedArray RemoteObjectSubtype = "typedarray" )
type RemoteObjectType ¶
type RemoteObjectType string
const ( RemoteObjectTypeObject RemoteObjectType = "object" RemoteObjectTypeFunction RemoteObjectType = "function" RemoteObjectTypeUndefined RemoteObjectType = "undefined" RemoteObjectTypeString RemoteObjectType = "string" RemoteObjectTypeNumber RemoteObjectType = "number" RemoteObjectTypeBoolean RemoteObjectType = "boolean" RemoteObjectTypeSymbol RemoteObjectType = "symbol" )
type ResponseAwaitPromise ¶
type ResponseAwaitPromise struct { Result *RemoteObject `json:"result"` ExceptionDetails *ExceptionDetails `json:"exceptionDetails"` }
type ResponseCallFunctionOn ¶
type ResponseCallFunctionOn struct { Result *RemoteObject `json:"result"` ExceptionDetails *ExceptionDetails `json:"exceptionDetails"` }
type ResponseCompileScript ¶
type ResponseCompileScript struct { ScriptId *ScriptId `json:"scriptId"` ExceptionDetails *ExceptionDetails `json:"exceptionDetails"` }
type ResponseEvaluate ¶
type ResponseEvaluate struct { Result *RemoteObject `json:"result"` ExceptionDetails *ExceptionDetails `json:"exceptionDetails"` }
type ResponseGetProperties ¶
type ResponseGetProperties struct { Result *PropertyDescriptor `json:"result"` InternalProperties *InternalPropertyDescriptor `json:"internalProperties"` ExceptionDetails *ExceptionDetails `json:"exceptionDetails"` }
type ResponseGlobalLexicalScopeNames ¶
type ResponseGlobalLexicalScopeNames struct {
Names []string `json:"names"`
}
type ResponseQueryObjects ¶
type ResponseQueryObjects struct {
Objects *RemoteObject `json:"objects"`
}
type ResponseRunScript ¶
type ResponseRunScript struct { Result *RemoteObject `json:"result"` ExceptionDetails *ExceptionDetails `json:"exceptionDetails"` }
type StackTrace ¶
type StackTrace struct { Description string `json:"description"` CallFrames []*CallFrame `json:"callFrames"` Parent *StackTrace `json:"parent"` ParentId *StackTraceId `json:"parentId"` }
type StackTraceId ¶
type StackTraceId struct { Id string `json:"id"` DebuggerId *UniqueDebuggerId `json:"debuggerId"` }
type TargetCallFramesType ¶
type TargetCallFramesType string
const ( TargetCallFramesTypeAny TargetCallFramesType = "any" TargetCallFramesTypeCurrent TargetCallFramesType = "current" )
type UniqueDebuggerId ¶
type UniqueDebuggerId string
type UnserializableValue ¶
type UnserializableValue string
const ( UnserializableValueInfinity UnserializableValue = "Infinity" UnserializableValueNaN UnserializableValue = "NaN" UnserializableValueNegativeInfinity UnserializableValue = "-Infinity" UnserializableValueNegativeZero UnserializableValue = "-0" )
Click to show internal directories.
Click to hide internal directories.