applicationcache

package
v0.0.0-...-9e45093 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package applicationcache provides the Chrome Debugging Protocol commands, types, and events for the ApplicationCache 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 ApplicationCache

type ApplicationCache struct {
	ManifestURL  string      `json:"manifestURL"`  // Manifest URL.
	Size         float64     `json:"size"`         // Application cache size.
	CreationTime float64     `json:"creationTime"` // Application cache creation time.
	UpdateTime   float64     `json:"updateTime"`   // Application cache update time.
	Resources    []*Resource `json:"resources"`    // Application cache resources.
}

ApplicationCache detailed application cache information.

func (ApplicationCache) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (ApplicationCache) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*ApplicationCache) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ApplicationCache) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type EnableParams

type EnableParams struct{}

EnableParams enables application cache domain notifications.

func Enable

func Enable() *EnableParams

Enable enables application cache domain notifications.

func (*EnableParams) Do

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

Do executes ApplicationCache.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 EventApplicationCacheStatusUpdated

type EventApplicationCacheStatusUpdated struct {
	FrameID     cdp.FrameID `json:"frameId"`     // Identifier of the frame containing document whose application cache updated status.
	ManifestURL string      `json:"manifestURL"` // Manifest URL.
	Status      int64       `json:"status"`      // Updated application cache status.
}

EventApplicationCacheStatusUpdated [no description].

func (EventApplicationCacheStatusUpdated) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (EventApplicationCacheStatusUpdated) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*EventApplicationCacheStatusUpdated) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EventApplicationCacheStatusUpdated) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type EventNetworkStateUpdated

type EventNetworkStateUpdated struct {
	IsNowOnline bool `json:"isNowOnline"`
}

EventNetworkStateUpdated [no description].

func (EventNetworkStateUpdated) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (EventNetworkStateUpdated) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*EventNetworkStateUpdated) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EventNetworkStateUpdated) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type FrameWithManifest

type FrameWithManifest struct {
	FrameID     cdp.FrameID `json:"frameId"`     // Frame identifier.
	ManifestURL string      `json:"manifestURL"` // Manifest URL.
	Status      int64       `json:"status"`      // Application cache status.
}

FrameWithManifest frame identifier - manifest URL pair.

func (FrameWithManifest) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (FrameWithManifest) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*FrameWithManifest) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*FrameWithManifest) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type GetApplicationCacheForFrameParams

type GetApplicationCacheForFrameParams struct {
	FrameID cdp.FrameID `json:"frameId"` // Identifier of the frame containing document whose application cache is retrieved.
}

GetApplicationCacheForFrameParams returns relevant application cache data for the document in given frame.

func GetApplicationCacheForFrame

func GetApplicationCacheForFrame(frameID cdp.FrameID) *GetApplicationCacheForFrameParams

GetApplicationCacheForFrame returns relevant application cache data for the document in given frame.

parameters:

frameID - Identifier of the frame containing document whose application cache is retrieved.

func (*GetApplicationCacheForFrameParams) Do

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

Do executes ApplicationCache.getApplicationCacheForFrame against the provided context and target handler.

returns:

applicationCache - Relevant application cache data for the document in given frame.

func (GetApplicationCacheForFrameParams) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetApplicationCacheForFrameParams) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*GetApplicationCacheForFrameParams) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetApplicationCacheForFrameParams) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type GetApplicationCacheForFrameReturns

type GetApplicationCacheForFrameReturns struct {
	ApplicationCache *ApplicationCache `json:"applicationCache,omitempty"` // Relevant application cache data for the document in given frame.
}

GetApplicationCacheForFrameReturns return values.

func (GetApplicationCacheForFrameReturns) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetApplicationCacheForFrameReturns) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*GetApplicationCacheForFrameReturns) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetApplicationCacheForFrameReturns) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type GetFramesWithManifestsParams

type GetFramesWithManifestsParams struct{}

GetFramesWithManifestsParams returns array of frame identifiers with manifest urls for each frame containing a document associated with some application cache.

func GetFramesWithManifests

func GetFramesWithManifests() *GetFramesWithManifestsParams

GetFramesWithManifests returns array of frame identifiers with manifest urls for each frame containing a document associated with some application cache.

func (*GetFramesWithManifestsParams) Do

Do executes ApplicationCache.getFramesWithManifests against the provided context and target handler.

returns:

frameIds - Array of frame identifiers with manifest urls for each frame containing a document associated with some application cache.

func (GetFramesWithManifestsParams) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetFramesWithManifestsParams) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*GetFramesWithManifestsParams) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetFramesWithManifestsParams) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type GetFramesWithManifestsReturns

type GetFramesWithManifestsReturns struct {
	FrameIds []*FrameWithManifest `json:"frameIds,omitempty"` // Array of frame identifiers with manifest urls for each frame containing a document associated with some application cache.
}

GetFramesWithManifestsReturns return values.

func (GetFramesWithManifestsReturns) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetFramesWithManifestsReturns) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*GetFramesWithManifestsReturns) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetFramesWithManifestsReturns) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type GetManifestForFrameParams

type GetManifestForFrameParams struct {
	FrameID cdp.FrameID `json:"frameId"` // Identifier of the frame containing document whose manifest is retrieved.
}

GetManifestForFrameParams returns manifest URL for document in the given frame.

func GetManifestForFrame

func GetManifestForFrame(frameID cdp.FrameID) *GetManifestForFrameParams

GetManifestForFrame returns manifest URL for document in the given frame.

parameters:

frameID - Identifier of the frame containing document whose manifest is retrieved.

func (*GetManifestForFrameParams) Do

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

Do executes ApplicationCache.getManifestForFrame against the provided context and target handler.

returns:

manifestURL - Manifest URL for document in the given frame.

func (GetManifestForFrameParams) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetManifestForFrameParams) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*GetManifestForFrameParams) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetManifestForFrameParams) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type GetManifestForFrameReturns

type GetManifestForFrameReturns struct {
	ManifestURL string `json:"manifestURL,omitempty"` // Manifest URL for document in the given frame.
}

GetManifestForFrameReturns return values.

func (GetManifestForFrameReturns) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetManifestForFrameReturns) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*GetManifestForFrameReturns) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetManifestForFrameReturns) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type Resource

type Resource struct {
	URL  string `json:"url"`  // Resource url.
	Size int64  `json:"size"` // Resource size.
	Type string `json:"type"` // Resource type.
}

Resource detailed application cache resource information.

func (Resource) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (Resource) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*Resource) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Resource) UnmarshalJSON

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