forked from chromedp/chromedp
/
types.go
30 lines (25 loc) · 1.08 KB
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package applicationcache
// AUTOGENERATED. DO NOT EDIT.
import (
cdp "github.com/knq/chromedp/cdp"
)
// Resource detailed application cache resource information.
type Resource struct {
URL string `json:"url"` // Resource url.
Size int64 `json:"size"` // Resource size.
Type string `json:"type"` // Resource type.
}
// ApplicationCache detailed application cache information.
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.
}
// FrameWithManifest frame identifier - manifest URL pair.
type FrameWithManifest struct {
FrameID cdp.FrameID `json:"frameId"` // Frame identifier.
ManifestURL string `json:"manifestURL"` // Manifest URL.
Status int64 `json:"status"` // Application cache status.
}