Documentation ¶
Index ¶
- Constants
- type CacheStorageContentUpdatedParams
- type CacheStorageListUpdatedParams
- type ClearDataForOriginParams
- type ClearDataForOriginResult
- type GetUsageAndQuotaParams
- type GetUsageAndQuotaResult
- type IndexedDBContentUpdatedParams
- type IndexedDBListUpdatedParams
- type StorageType
- type TrackCacheStorageForOriginParams
- type TrackCacheStorageForOriginResult
- type TrackIndexedDBForOriginParams
- type TrackIndexedDBForOriginResult
- type UntrackCacheStorageForOriginParams
- type UntrackCacheStorageForOriginResult
- type UntrackIndexedDBForOriginParams
- type UntrackIndexedDBForOriginResult
- type UsageForType
Constants ¶
View Source
const CacheStorageContentUpdatedEvent = "Storage.cacheStorageContentUpdated"
A cache's contents have been modified.
View Source
const CacheStorageListUpdatedEvent = "Storage.cacheStorageListUpdated"
A cache has been added/deleted.
View Source
const ClearDataForOrigin = "Storage.clearDataForOrigin"
Clears storage for origin.
View Source
const GetUsageAndQuota = "Storage.getUsageAndQuota"
Returns usage and quota in bytes.
View Source
const IndexedDBContentUpdatedEvent = "Storage.indexedDBContentUpdated"
The origin's IndexedDB object store has been modified.
View Source
const IndexedDBListUpdatedEvent = "Storage.indexedDBListUpdated"
The origin's IndexedDB database list has been modified.
View Source
const TrackCacheStorageForOrigin = "Storage.trackCacheStorageForOrigin"
Registers origin to be notified when an update occurs to its cache storage list.
View Source
const TrackIndexedDBForOrigin = "Storage.trackIndexedDBForOrigin"
Registers origin to be notified when an update occurs to its IndexedDB.
View Source
const UntrackCacheStorageForOrigin = "Storage.untrackCacheStorageForOrigin"
Unregisters origin from receiving notifications for cache storage.
View Source
const UntrackIndexedDBForOrigin = "Storage.untrackIndexedDBForOrigin"
Unregisters origin from receiving notifications for IndexedDB.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheStorageListUpdatedParams ¶
type CacheStorageListUpdatedParams struct { // Origin to update. Origin string }
type ClearDataForOriginResult ¶
type ClearDataForOriginResult struct { }
type GetUsageAndQuotaParams ¶
type GetUsageAndQuotaParams struct { // Security origin. Origin string `json:"origin"` }
type GetUsageAndQuotaResult ¶
type GetUsageAndQuotaResult struct { // Storage usage (bytes). Usage float64 `json:"usage"` // Storage quota (bytes). Quota float64 `json:"quota"` // Storage usage per type (bytes). UsageBreakdown []*UsageForType `json:"usageBreakdown"` }
type IndexedDBListUpdatedParams ¶
type IndexedDBListUpdatedParams struct { // Origin to update. Origin string }
type TrackCacheStorageForOriginParams ¶
type TrackCacheStorageForOriginParams struct { // Security origin. Origin string `json:"origin"` }
type TrackCacheStorageForOriginResult ¶
type TrackCacheStorageForOriginResult struct { }
type TrackIndexedDBForOriginParams ¶
type TrackIndexedDBForOriginParams struct { // Security origin. Origin string `json:"origin"` }
type TrackIndexedDBForOriginResult ¶
type TrackIndexedDBForOriginResult struct { }
type UntrackCacheStorageForOriginParams ¶
type UntrackCacheStorageForOriginParams struct { // Security origin. Origin string `json:"origin"` }
type UntrackCacheStorageForOriginResult ¶
type UntrackCacheStorageForOriginResult struct { }
type UntrackIndexedDBForOriginParams ¶
type UntrackIndexedDBForOriginParams struct { // Security origin. Origin string `json:"origin"` }
type UntrackIndexedDBForOriginResult ¶
type UntrackIndexedDBForOriginResult struct { }
type UsageForType ¶
type UsageForType struct { // Name of storage type. StorageType StorageType `json:"storageType"` // Storage usage (bytes). Usage float64 `json:"usage"` }
Usage for a storage type.
Click to show internal directories.
Click to hide internal directories.