Documentation ¶
Overview ¶
Package inspector provides the Chrome Debugging Protocol commands, types, and events for the Inspector domain.
Generated by the chromedp-gen command.
Index ¶
- Constants
- type DetachReason
- type DisableParams
- func (p *DisableParams) Do(ctxt context.Context, h cdp.Executor) (err error)
- func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer)
- func (v DisableParams) MarshalJSON() ([]byte, error)
- func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *DisableParams) UnmarshalJSON(data []byte) error
- type EnableParams
- type EventDetached
- type EventTargetCrashed
- type EventTargetReloadedAfterCrash
Constants ¶
const ( CommandDisable = "Inspector.disable" CommandEnable = "Inspector.enable" )
Command names.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DetachReason ¶
type DetachReason string
DetachReason detach reason.
const ( DetachReasonTargetClosed DetachReason = "target_closed" DetachReasonCanceledByUser DetachReason = "canceled_by_user" DetachReasonReplacedWithDevtools DetachReason = "replaced_with_devtools" DetachReasonRenderProcessGone DetachReason = "Render process gone." )
DetachReason values.
func (DetachReason) MarshalEasyJSON ¶
func (t DetachReason) MarshalEasyJSON(out *jwriter.Writer)
MarshalEasyJSON satisfies easyjson.Marshaler.
func (DetachReason) MarshalJSON ¶
func (t DetachReason) MarshalJSON() ([]byte, error)
MarshalJSON satisfies json.Marshaler.
func (DetachReason) String ¶
func (t DetachReason) String() string
String returns the DetachReason as string value.
func (*DetachReason) UnmarshalEasyJSON ¶
func (t *DetachReason) UnmarshalEasyJSON(in *jlexer.Lexer)
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
func (*DetachReason) UnmarshalJSON ¶
func (t *DetachReason) UnmarshalJSON(buf []byte) error
UnmarshalJSON satisfies json.Unmarshaler.
type DisableParams ¶
type DisableParams struct{}
DisableParams disables inspector domain notifications.
func (DisableParams) MarshalEasyJSON ¶
func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (DisableParams) MarshalJSON ¶
func (v DisableParams) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*DisableParams) UnmarshalEasyJSON ¶
func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*DisableParams) UnmarshalJSON ¶
func (v *DisableParams) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type EnableParams ¶
type EnableParams struct{}
EnableParams enables inspector domain notifications.
func (EnableParams) MarshalEasyJSON ¶
func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (EnableParams) MarshalJSON ¶
func (v EnableParams) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*EnableParams) UnmarshalEasyJSON ¶
func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*EnableParams) UnmarshalJSON ¶
func (v *EnableParams) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type EventDetached ¶
type EventDetached struct {
Reason DetachReason `json:"reason"` // The reason why connection has been terminated.
}
EventDetached fired when remote debugging connection is about to be terminated. Contains detach reason.
func (EventDetached) MarshalEasyJSON ¶
func (v EventDetached) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (EventDetached) MarshalJSON ¶
func (v EventDetached) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*EventDetached) UnmarshalEasyJSON ¶
func (v *EventDetached) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*EventDetached) UnmarshalJSON ¶
func (v *EventDetached) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type EventTargetCrashed ¶
type EventTargetCrashed struct{}
EventTargetCrashed fired when debugging target has crashed.
func (EventTargetCrashed) MarshalEasyJSON ¶
func (v EventTargetCrashed) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (EventTargetCrashed) MarshalJSON ¶
func (v EventTargetCrashed) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*EventTargetCrashed) UnmarshalEasyJSON ¶
func (v *EventTargetCrashed) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*EventTargetCrashed) UnmarshalJSON ¶
func (v *EventTargetCrashed) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type EventTargetReloadedAfterCrash ¶
type EventTargetReloadedAfterCrash struct{}
EventTargetReloadedAfterCrash fired when debugging target has reloaded after crash.
func (EventTargetReloadedAfterCrash) MarshalEasyJSON ¶
func (v EventTargetReloadedAfterCrash) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (EventTargetReloadedAfterCrash) MarshalJSON ¶
func (v EventTargetReloadedAfterCrash) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*EventTargetReloadedAfterCrash) UnmarshalEasyJSON ¶
func (v *EventTargetReloadedAfterCrash) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*EventTargetReloadedAfterCrash) UnmarshalJSON ¶
func (v *EventTargetReloadedAfterCrash) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface