schema

package
v0.0.0-...-ccdd204 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package schema provides the Chrome Debugging Protocol commands, types, and events for the Schema domain.

Provides information about the protocol schema.

Generated by the chromedp-gen command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Domain

type Domain struct {
	Name    string `json:"name"`    // Domain name.
	Version string `json:"version"` // Domain version.
}

Domain description of the protocol domain.

func (Domain) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (Domain) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*Domain) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Domain) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type GetDomainsParams

type GetDomainsParams struct{}

GetDomainsParams returns supported domains.

func GetDomains

func GetDomains() *GetDomainsParams

GetDomains returns supported domains.

func (*GetDomainsParams) Do

func (p *GetDomainsParams) Do(ctxt context.Context, h cdp.Handler) (domains []*Domain, err error)

Do executes Schema.getDomains against the provided context and target handler.

returns:

domains - List of supported domains.

func (GetDomainsParams) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetDomainsParams) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*GetDomainsParams) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetDomainsParams) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type GetDomainsReturns

type GetDomainsReturns struct {
	Domains []*Domain `json:"domains,omitempty"` // List of supported domains.
}

GetDomainsReturns return values.

func (GetDomainsReturns) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetDomainsReturns) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*GetDomainsReturns) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetDomainsReturns) UnmarshalJSON

func (v *GetDomainsReturns) 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