-
Notifications
You must be signed in to change notification settings - Fork 46
/
types.go
30 lines (25 loc) · 1.09 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
// Code generated by cdpgen. DO NOT EDIT.
package applicationcache
import (
"github.com/mafredri/cdp/protocol/page"
)
// Resource Detailed application cache resource information.
type Resource struct {
URL string `json:"url"` // Resource url.
Size int `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 page.FrameID `json:"frameId"` // Frame identifier.
ManifestURL string `json:"manifestURL"` // Manifest URL.
Status int `json:"status"` // Application cache status.
}