package cachestorage

Import Path
	github.com/chromedp/cdproto/cachestorage (on go.dev)

Dependency Relation
	imports 8 packages, and imported by one package

Involved Source Files Package cachestorage provides the Chrome DevTools Protocol commands, types, and events for the CacheStorage domain. Generated by the cdproto-gen command. easyjson.go types.go
Package-Level Type Names (total 14)
/* sort by: | */
Cache cache identifier. See: https://chromedevtools.github.io/devtools-protocol/tot/CacheStorage#type-Cache // An opaque unique id of the cache. // The name of the cache. // Security origin of the cache. // Storage bucket of the cache. // Storage key of the cache. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface Cache : github.com/goccy/go-json.Marshaler *Cache : github.com/goccy/go-json.Unmarshaler Cache : github.com/mailru/easyjson.Marshaler *Cache : github.com/mailru/easyjson.MarshalerUnmarshaler *Cache : github.com/mailru/easyjson.Unmarshaler Cache : encoding/json.Marshaler *Cache : encoding/json.Unmarshaler func (*RequestCacheNamesParams).Do(ctx context.Context) (caches []*Cache, err error)
CachedResponse cached response. See: https://chromedevtools.github.io/devtools-protocol/tot/CacheStorage#type-CachedResponse // Entry content, base64-encoded. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface CachedResponse : github.com/goccy/go-json.Marshaler *CachedResponse : github.com/goccy/go-json.Unmarshaler CachedResponse : github.com/mailru/easyjson.Marshaler *CachedResponse : github.com/mailru/easyjson.MarshalerUnmarshaler *CachedResponse : github.com/mailru/easyjson.Unmarshaler CachedResponse : encoding/json.Marshaler *CachedResponse : encoding/json.Unmarshaler func (*RequestCachedResponseParams).Do(ctx context.Context) (response *CachedResponse, err error)
CachedResponseType type of HTTP response cached. See: https://chromedevtools.github.io/devtools-protocol/tot/CacheStorage#type-CachedResponseType MarshalEasyJSON satisfies easyjson.Marshaler. MarshalJSON satisfies json.Marshaler. String returns the CachedResponseType as string value. UnmarshalEasyJSON satisfies easyjson.Unmarshaler. UnmarshalJSON satisfies json.Unmarshaler. CachedResponseType : github.com/goccy/go-json.Marshaler *CachedResponseType : github.com/goccy/go-json.Unmarshaler CachedResponseType : github.com/mailru/easyjson.Marshaler *CachedResponseType : github.com/mailru/easyjson.MarshalerUnmarshaler *CachedResponseType : github.com/mailru/easyjson.Unmarshaler CachedResponseType : encoding/json.Marshaler *CachedResponseType : encoding/json.Unmarshaler CachedResponseType : expvar.Var CachedResponseType : fmt.Stringer const CachedResponseTypeBasic const CachedResponseTypeCors const CachedResponseTypeDefault const CachedResponseTypeError const CachedResponseTypeOpaqueRedirect const CachedResponseTypeOpaqueResponse
CacheID unique identifier of the Cache object. See: https://chromedevtools.github.io/devtools-protocol/tot/CacheStorage#type-CacheId String returns the CacheID as string value. CacheID : expvar.Var CacheID : fmt.Stringer func DeleteCache(cacheID CacheID) *DeleteCacheParams func DeleteEntry(cacheID CacheID, request string) *DeleteEntryParams func RequestCachedResponse(cacheID CacheID, requestURL string, requestHeaders []*Header) *RequestCachedResponseParams func RequestEntries(cacheID CacheID) *RequestEntriesParams
DataEntry data entry. See: https://chromedevtools.github.io/devtools-protocol/tot/CacheStorage#type-DataEntry // Request headers // Request method. // Request URL. // Response headers // HTTP response status code. // HTTP response status text. // Number of seconds since epoch. // HTTP response type MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface DataEntry : github.com/goccy/go-json.Marshaler *DataEntry : github.com/goccy/go-json.Unmarshaler DataEntry : github.com/mailru/easyjson.Marshaler *DataEntry : github.com/mailru/easyjson.MarshalerUnmarshaler *DataEntry : github.com/mailru/easyjson.Unmarshaler DataEntry : encoding/json.Marshaler *DataEntry : encoding/json.Unmarshaler func (*RequestEntriesParams).Do(ctx context.Context) (cacheDataEntries []*DataEntry, returnCount float64, err error)
DeleteCacheParams deletes a cache. // Id of cache for deletion. Do executes CacheStorage.deleteCache against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *DeleteCacheParams : github.com/chromedp/chromedp.Action *DeleteCacheParams : github.com/chromedp/chromedp.CallAction *DeleteCacheParams : github.com/chromedp/chromedp.EmulateAction *DeleteCacheParams : github.com/chromedp/chromedp.EvaluateAction *DeleteCacheParams : github.com/chromedp/chromedp.KeyAction *DeleteCacheParams : github.com/chromedp/chromedp.MouseAction *DeleteCacheParams : github.com/chromedp/chromedp.NavigateAction *DeleteCacheParams : github.com/chromedp/chromedp.PollAction *DeleteCacheParams : github.com/chromedp/chromedp.QueryAction DeleteCacheParams : github.com/goccy/go-json.Marshaler *DeleteCacheParams : github.com/goccy/go-json.Unmarshaler DeleteCacheParams : github.com/mailru/easyjson.Marshaler *DeleteCacheParams : github.com/mailru/easyjson.MarshalerUnmarshaler *DeleteCacheParams : github.com/mailru/easyjson.Unmarshaler DeleteCacheParams : encoding/json.Marshaler *DeleteCacheParams : encoding/json.Unmarshaler func DeleteCache(cacheID CacheID) *DeleteCacheParams
DeleteEntryParams deletes a cache entry. // Id of cache where the entry will be deleted. // URL spec of the request. Do executes CacheStorage.deleteEntry against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *DeleteEntryParams : github.com/chromedp/chromedp.Action *DeleteEntryParams : github.com/chromedp/chromedp.CallAction *DeleteEntryParams : github.com/chromedp/chromedp.EmulateAction *DeleteEntryParams : github.com/chromedp/chromedp.EvaluateAction *DeleteEntryParams : github.com/chromedp/chromedp.KeyAction *DeleteEntryParams : github.com/chromedp/chromedp.MouseAction *DeleteEntryParams : github.com/chromedp/chromedp.NavigateAction *DeleteEntryParams : github.com/chromedp/chromedp.PollAction *DeleteEntryParams : github.com/chromedp/chromedp.QueryAction DeleteEntryParams : github.com/goccy/go-json.Marshaler *DeleteEntryParams : github.com/goccy/go-json.Unmarshaler DeleteEntryParams : github.com/mailru/easyjson.Marshaler *DeleteEntryParams : github.com/mailru/easyjson.MarshalerUnmarshaler *DeleteEntryParams : github.com/mailru/easyjson.Unmarshaler DeleteEntryParams : encoding/json.Marshaler *DeleteEntryParams : encoding/json.Unmarshaler func DeleteEntry(cacheID CacheID, request string) *DeleteEntryParams
Header [no description]. See: https://chromedevtools.github.io/devtools-protocol/tot/CacheStorage#type-Header // address field name, for example GIVEN_NAME. // address field value, for example Jon Doe. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface Header : github.com/goccy/go-json.Marshaler *Header : github.com/goccy/go-json.Unmarshaler Header : github.com/mailru/easyjson.Marshaler *Header : github.com/mailru/easyjson.MarshalerUnmarshaler *Header : github.com/mailru/easyjson.Unmarshaler Header : encoding/json.Marshaler *Header : encoding/json.Unmarshaler func RequestCachedResponse(cacheID CacheID, requestURL string, requestHeaders []*Header) *RequestCachedResponseParams
RequestCachedResponseParams fetches cache entry. // Id of cache that contains the entry. // headers of the request. // URL spec of the request. Do executes CacheStorage.requestCachedResponse against the provided context. returns: response - Response read from the cache. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface RequestCachedResponseParams : github.com/goccy/go-json.Marshaler *RequestCachedResponseParams : github.com/goccy/go-json.Unmarshaler RequestCachedResponseParams : github.com/mailru/easyjson.Marshaler *RequestCachedResponseParams : github.com/mailru/easyjson.MarshalerUnmarshaler *RequestCachedResponseParams : github.com/mailru/easyjson.Unmarshaler RequestCachedResponseParams : encoding/json.Marshaler *RequestCachedResponseParams : encoding/json.Unmarshaler func RequestCachedResponse(cacheID CacheID, requestURL string, requestHeaders []*Header) *RequestCachedResponseParams
RequestCachedResponseReturns return values. // Response read from the cache. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface RequestCachedResponseReturns : github.com/goccy/go-json.Marshaler *RequestCachedResponseReturns : github.com/goccy/go-json.Unmarshaler RequestCachedResponseReturns : github.com/mailru/easyjson.Marshaler *RequestCachedResponseReturns : github.com/mailru/easyjson.MarshalerUnmarshaler *RequestCachedResponseReturns : github.com/mailru/easyjson.Unmarshaler RequestCachedResponseReturns : encoding/json.Marshaler *RequestCachedResponseReturns : encoding/json.Unmarshaler
RequestCacheNamesParams requests cache names. // At least and at most one of securityOrigin, storageKey, storageBucket must be specified. Security origin. // Storage bucket. If not specified, it uses the default bucket. // Storage key. Do executes CacheStorage.requestCacheNames against the provided context. returns: caches - Caches for the security origin. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface WithSecurityOrigin at least and at most one of securityOrigin, storageKey, storageBucket must be specified. Security origin. WithStorageBucket storage bucket. If not specified, it uses the default bucket. WithStorageKey storage key. RequestCacheNamesParams : github.com/goccy/go-json.Marshaler *RequestCacheNamesParams : github.com/goccy/go-json.Unmarshaler RequestCacheNamesParams : github.com/mailru/easyjson.Marshaler *RequestCacheNamesParams : github.com/mailru/easyjson.MarshalerUnmarshaler *RequestCacheNamesParams : github.com/mailru/easyjson.Unmarshaler RequestCacheNamesParams : encoding/json.Marshaler *RequestCacheNamesParams : encoding/json.Unmarshaler func RequestCacheNames() *RequestCacheNamesParams func RequestCacheNamesParams.WithSecurityOrigin(securityOrigin string) *RequestCacheNamesParams func RequestCacheNamesParams.WithStorageBucket(storageBucket *storage.Bucket) *RequestCacheNamesParams func RequestCacheNamesParams.WithStorageKey(storageKey string) *RequestCacheNamesParams
RequestCacheNamesReturns return values. // Caches for the security origin. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface RequestCacheNamesReturns : github.com/goccy/go-json.Marshaler *RequestCacheNamesReturns : github.com/goccy/go-json.Unmarshaler RequestCacheNamesReturns : github.com/mailru/easyjson.Marshaler *RequestCacheNamesReturns : github.com/mailru/easyjson.MarshalerUnmarshaler *RequestCacheNamesReturns : github.com/mailru/easyjson.Unmarshaler RequestCacheNamesReturns : encoding/json.Marshaler *RequestCacheNamesReturns : encoding/json.Unmarshaler
RequestEntriesParams requests data from cache. // ID of cache to get entries from. // Number of records to fetch. // If present, only return the entries containing this substring in the path // Number of records to skip. Do executes CacheStorage.requestEntries against the provided context. returns: cacheDataEntries - Array of object store data entries. returnCount - Count of returned entries from this storage. If pathFilter is empty, it is the count of all entries from this storage. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface WithPageSize number of records to fetch. WithPathFilter if present, only return the entries containing this substring in the path. WithSkipCount number of records to skip. RequestEntriesParams : github.com/goccy/go-json.Marshaler *RequestEntriesParams : github.com/goccy/go-json.Unmarshaler RequestEntriesParams : github.com/mailru/easyjson.Marshaler *RequestEntriesParams : github.com/mailru/easyjson.MarshalerUnmarshaler *RequestEntriesParams : github.com/mailru/easyjson.Unmarshaler RequestEntriesParams : encoding/json.Marshaler *RequestEntriesParams : encoding/json.Unmarshaler func RequestEntries(cacheID CacheID) *RequestEntriesParams func RequestEntriesParams.WithPageSize(pageSize int64) *RequestEntriesParams func RequestEntriesParams.WithPathFilter(pathFilter string) *RequestEntriesParams func RequestEntriesParams.WithSkipCount(skipCount int64) *RequestEntriesParams
RequestEntriesReturns return values. // Array of object store data entries. // Count of returned entries from this storage. If pathFilter is empty, it is the count of all entries from this storage. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface RequestEntriesReturns : github.com/goccy/go-json.Marshaler *RequestEntriesReturns : github.com/goccy/go-json.Unmarshaler RequestEntriesReturns : github.com/mailru/easyjson.Marshaler *RequestEntriesReturns : github.com/mailru/easyjson.MarshalerUnmarshaler *RequestEntriesReturns : github.com/mailru/easyjson.Unmarshaler RequestEntriesReturns : encoding/json.Marshaler *RequestEntriesReturns : encoding/json.Unmarshaler
Package-Level Functions (total 5)
DeleteCache deletes a cache. See: https://chromedevtools.github.io/devtools-protocol/tot/CacheStorage#method-deleteCache parameters: cacheID - Id of cache for deletion.
DeleteEntry deletes a cache entry. See: https://chromedevtools.github.io/devtools-protocol/tot/CacheStorage#method-deleteEntry parameters: cacheID - Id of cache where the entry will be deleted. request - URL spec of the request.
RequestCachedResponse fetches cache entry. See: https://chromedevtools.github.io/devtools-protocol/tot/CacheStorage#method-requestCachedResponse parameters: cacheID - Id of cache that contains the entry. requestURL - URL spec of the request. requestHeaders - headers of the request.
RequestEntries requests data from cache. See: https://chromedevtools.github.io/devtools-protocol/tot/CacheStorage#method-requestEntries parameters: cacheID - ID of cache to get entries from.
Package-Level Constants (total 11)
CachedResponseType values.
CachedResponseType values.
CachedResponseType values.
CachedResponseType values.
CachedResponseType values.
CachedResponseType values.
Command names.
Command names.
Command names.
Command names.
Command names.