cdproto: github.com/chromedp/cdproto/inspector Index | Files

package inspector

import "github.com/chromedp/cdproto/inspector"

Package inspector provides the Chrome DevTools Protocol commands, types, and events for the Inspector domain.

Generated by the cdproto-gen command.

Index

Package Files

easyjson.go events.go inspector.go types.go

Constants

const (
    CommandDisable = "Inspector.disable"
    CommandEnable  = "Inspector.enable"
)

Command names.

type DetachReason Uses

type DetachReason string

DetachReason detach reason.

See: ( -- none -- )

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 Uses

func (t DetachReason) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (DetachReason) MarshalJSON Uses

func (t DetachReason) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (DetachReason) String Uses

func (t DetachReason) String() string

String returns the DetachReason as string value.

func (*DetachReason) UnmarshalEasyJSON Uses

func (t *DetachReason) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*DetachReason) UnmarshalJSON Uses

func (t *DetachReason) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

type DisableParams Uses

type DisableParams struct{}

DisableParams disables inspector domain notifications.

func Disable Uses

func Disable() *DisableParams

Disable disables inspector domain notifications.

See: https://chromedevtools.github.io/devtools-protocol/tot/Inspector#method-disable

func (*DisableParams) Do Uses

func (p *DisableParams) Do(ctx context.Context) (err error)

Do executes Inspector.disable against the provided context.

func (DisableParams) MarshalEasyJSON Uses

func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (DisableParams) MarshalJSON Uses

func (v DisableParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*DisableParams) UnmarshalEasyJSON Uses

func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*DisableParams) UnmarshalJSON Uses

func (v *DisableParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EnableParams Uses

type EnableParams struct{}

EnableParams enables inspector domain notifications.

func Enable Uses

func Enable() *EnableParams

Enable enables inspector domain notifications.

See: https://chromedevtools.github.io/devtools-protocol/tot/Inspector#method-enable

func (*EnableParams) Do Uses

func (p *EnableParams) Do(ctx context.Context) (err error)

Do executes Inspector.enable against the provided context.

func (EnableParams) MarshalEasyJSON Uses

func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EnableParams) MarshalJSON Uses

func (v EnableParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EnableParams) UnmarshalEasyJSON Uses

func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EnableParams) UnmarshalJSON Uses

func (v *EnableParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EventDetached Uses

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.

See: https://chromedevtools.github.io/devtools-protocol/tot/Inspector#event-detached

func (EventDetached) MarshalEasyJSON Uses

func (v EventDetached) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EventDetached) MarshalJSON Uses

func (v EventDetached) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EventDetached) UnmarshalEasyJSON Uses

func (v *EventDetached) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EventDetached) UnmarshalJSON Uses

func (v *EventDetached) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EventTargetCrashed Uses

type EventTargetCrashed struct{}

EventTargetCrashed fired when debugging target has crashed.

See: https://chromedevtools.github.io/devtools-protocol/tot/Inspector#event-targetCrashed

func (EventTargetCrashed) MarshalEasyJSON Uses

func (v EventTargetCrashed) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EventTargetCrashed) MarshalJSON Uses

func (v EventTargetCrashed) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EventTargetCrashed) UnmarshalEasyJSON Uses

func (v *EventTargetCrashed) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EventTargetCrashed) UnmarshalJSON Uses

func (v *EventTargetCrashed) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EventTargetReloadedAfterCrash Uses

type EventTargetReloadedAfterCrash struct{}

EventTargetReloadedAfterCrash fired when debugging target has reloaded after crash.

See: https://chromedevtools.github.io/devtools-protocol/tot/Inspector#event-targetReloadedAfterCrash

func (EventTargetReloadedAfterCrash) MarshalEasyJSON Uses

func (v EventTargetReloadedAfterCrash) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EventTargetReloadedAfterCrash) MarshalJSON Uses

func (v EventTargetReloadedAfterCrash) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EventTargetReloadedAfterCrash) UnmarshalEasyJSON Uses

func (v *EventTargetReloadedAfterCrash) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EventTargetReloadedAfterCrash) UnmarshalJSON Uses

func (v *EventTargetReloadedAfterCrash) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

Package inspector imports 7 packages (graph) and is imported by 18 packages. Updated 2021-01-07. Refresh now. Tools for package owners.