Documentation ¶
Overview ¶
(experimental)
Index ¶
- type ApplicationCache
- type ApplicationCacheResource
- type ApplicationCacheStatusUpdatedEvent
- type Client
- type EnableRequest
- type FrameWithManifest
- type GetApplicationCacheForFrameRequest
- type GetApplicationCacheForFrameResult
- type GetFramesWithManifestsRequest
- type GetFramesWithManifestsResult
- type GetManifestForFrameRequest
- type GetManifestForFrameResult
- type NetworkStateUpdatedEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationCache ¶
type ApplicationCache struct { // Manifest URL. ManifestURL string `json:"manifestURL"` // Application cache size. Size float64 `json:"size"` // Application cache creation time. CreationTime float64 `json:"creationTime"` // Application cache update time. UpdateTime float64 `json:"updateTime"` // Application cache resources. Resources []*ApplicationCacheResource `json:"resources"` }
type Client ¶
(experimental)
func (*Client) Enable ¶
func (d *Client) Enable() *EnableRequest
Enables application cache domain notifications.
func (*Client) GetApplicationCacheForFrame ¶
func (d *Client) GetApplicationCacheForFrame() *GetApplicationCacheForFrameRequest
Returns relevant application cache data for the document in given frame.
func (*Client) GetFramesWithManifests ¶
func (d *Client) GetFramesWithManifests() *GetFramesWithManifestsRequest
Returns array of frame identifiers with manifest urls for each frame containing a document associated with some application cache.
func (*Client) GetManifestForFrame ¶
func (d *Client) GetManifestForFrame() *GetManifestForFrameRequest
Returns manifest URL for document in the given frame.
type EnableRequest ¶
type EnableRequest struct {
// contains filtered or unexported fields
}
func (*EnableRequest) Do ¶
func (r *EnableRequest) Do() error
type FrameWithManifest ¶
type GetApplicationCacheForFrameRequest ¶
type GetApplicationCacheForFrameRequest struct {
// contains filtered or unexported fields
}
func (*GetApplicationCacheForFrameRequest) Do ¶
func (r *GetApplicationCacheForFrameRequest) Do() (*GetApplicationCacheForFrameResult, error)
func (*GetApplicationCacheForFrameRequest) FrameId ¶
func (r *GetApplicationCacheForFrameRequest) FrameId(v string) *GetApplicationCacheForFrameRequest
Identifier of the frame containing document whose application cache is retrieved.
type GetApplicationCacheForFrameResult ¶
type GetApplicationCacheForFrameResult struct { // Relevant application cache data for the document in given frame. ApplicationCache *ApplicationCache `json:"applicationCache"` }
type GetFramesWithManifestsRequest ¶
type GetFramesWithManifestsRequest struct {
// contains filtered or unexported fields
}
func (*GetFramesWithManifestsRequest) Do ¶
func (r *GetFramesWithManifestsRequest) Do() (*GetFramesWithManifestsResult, error)
type GetFramesWithManifestsResult ¶
type GetFramesWithManifestsResult struct { // Array of frame identifiers with manifest urls for each frame containing a document associated with some application cache. FrameIds []*FrameWithManifest `json:"frameIds"` }
type GetManifestForFrameRequest ¶
type GetManifestForFrameRequest struct {
// contains filtered or unexported fields
}
func (*GetManifestForFrameRequest) Do ¶
func (r *GetManifestForFrameRequest) Do() (*GetManifestForFrameResult, error)
func (*GetManifestForFrameRequest) FrameId ¶
func (r *GetManifestForFrameRequest) FrameId(v string) *GetManifestForFrameRequest
Identifier of the frame containing document whose manifest is retrieved.
type GetManifestForFrameResult ¶
type GetManifestForFrameResult struct { // Manifest URL for document in the given frame. ManifestURL string `json:"manifestURL"` }
type NetworkStateUpdatedEvent ¶
type NetworkStateUpdatedEvent struct {
IsNowOnline bool `json:"isNowOnline"`
}
Click to show internal directories.
Click to hide internal directories.