inspector

package
v0.0.0-...-b47709e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2018 License: MIT Imports: 7 Imported by: 0

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

This section is empty.

Variables

EventTypes all event types in the domain.

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 Disable

func Disable() *DisableParams

Disable disables inspector domain notifications.

func (*DisableParams) Do

func (p *DisableParams) Do(ctxt context.Context, h cdp.Handler) (err error)

Do executes Inspector.disable against the provided context and target handler.

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 Enable

func Enable() *EnableParams

Enable enables inspector domain notifications.

func (*EnableParams) Do

func (p *EnableParams) Do(ctxt context.Context, h cdp.Handler) (err error)

Do executes Inspector.enable against the provided context and target handler.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL