Documentation ¶
Overview ¶
Package schema provides the Chrome Debugging Protocol commands, types, and events for the Chrome Schema domain.
Provides information about the protocol schema.
Generated by the chromedp-gen command.
Index ¶
- type Domain
- type GetDomainsParams
- func (p *GetDomainsParams) Do(ctxt context.Context, h cdp.FrameHandler) (domains []*Domain, err error)
- func (v GetDomainsParams) MarshalEasyJSON(w *jwriter.Writer)
- func (v GetDomainsParams) MarshalJSON() ([]byte, error)
- func (v *GetDomainsParams) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *GetDomainsParams) UnmarshalJSON(data []byte) error
- type GetDomainsReturns
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,omitempty"` // Domain name. Version string `json:"version,omitempty"` // Domain version. }
Domain description of the protocol domain.
func (Domain) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Domain) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Domain) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Domain) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type GetDomainsParams ¶
type GetDomainsParams struct{}
GetDomainsParams returns supported domains.
func (*GetDomainsParams) Do ¶
func (p *GetDomainsParams) Do(ctxt context.Context, h cdp.FrameHandler) (domains []*Domain, err error)
Do executes Schema.getDomains.
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