Documentation
¶
Overview ¶
Package inspector provides the Chrome DevTools Protocol commands, types, and events for the Inspector domain.
Generated by the pdlgen command.
Index ¶
Constants ¶
const ( CommandDisable = "Inspector.disable" CommandEnable = "Inspector.enable" )
Command names.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DisableParams ¶
type DisableParams struct{}
DisableParams disables inspector domain notifications.
func Disable ¶
func Disable() *DisableParams
Disable disables inspector domain notifications.
See: https://chromedevtools.github.io/devtools-protocol/tot/Inspector#method-disable
type EnableParams ¶
type EnableParams struct{}
EnableParams enables inspector domain notifications.
func Enable ¶
func Enable() *EnableParams
Enable enables inspector domain notifications.
See: https://chromedevtools.github.io/devtools-protocol/tot/Inspector#method-enable
type EventDetached ¶
type EventDetached struct {
Reason string `json:"reason"` // The reason why connection has been terminated.
}
EventDetached fired when remote debugging connection is about to be terminated. Contains detach reason.
See: https://chromedevtools.github.io/devtools-protocol/tot/Inspector#event-detached
type EventTargetCrashed ¶
type EventTargetCrashed struct{}
EventTargetCrashed fired when debugging target has crashed.
See: https://chromedevtools.github.io/devtools-protocol/tot/Inspector#event-targetCrashed
type EventTargetReloadedAfterCrash ¶
type EventTargetReloadedAfterCrash struct{}
EventTargetReloadedAfterCrash fired when debugging target has reloaded after crash.
See: https://chromedevtools.github.io/devtools-protocol/tot/Inspector#event-targetReloadedAfterCrash
type EventWorkerScriptLoaded ¶
type EventWorkerScriptLoaded struct{}
EventWorkerScriptLoaded fired on worker targets when main worker script and any imported scripts have been evaluated.
See: https://chromedevtools.github.io/devtools-protocol/tot/Inspector#event-workerScriptLoaded