package indexeddb
Import Path
github.com/chromedp/cdproto/indexeddb (on go.dev)
Dependency Relation
imports 9 packages, and imported by one package
Involved Source Files
easyjson.go
Package indexeddb provides the Chrome DevTools Protocol
commands, types, and events for the IndexedDB domain.
Generated by the cdproto-gen command.
types.go
Package-Level Type Names (total 22)
ClearObjectStoreParams clears all entries from an object store.
// Database name.
// Object store name.
// At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin.
// Storage bucket. If not specified, it uses the default bucket.
// Storage key.
Do executes IndexedDB.clearObjectStore against the provided context.
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,
or storageBucket must be specified. Security origin.
WithStorageBucket storage bucket. If not specified, it uses the default
bucket.
WithStorageKey storage key.
*ClearObjectStoreParams : github.com/chromedp/chromedp.Action
*ClearObjectStoreParams : github.com/chromedp/chromedp.CallAction
*ClearObjectStoreParams : github.com/chromedp/chromedp.EmulateAction
*ClearObjectStoreParams : github.com/chromedp/chromedp.EvaluateAction
*ClearObjectStoreParams : github.com/chromedp/chromedp.KeyAction
*ClearObjectStoreParams : github.com/chromedp/chromedp.MouseAction
*ClearObjectStoreParams : github.com/chromedp/chromedp.NavigateAction
*ClearObjectStoreParams : github.com/chromedp/chromedp.PollAction
*ClearObjectStoreParams : github.com/chromedp/chromedp.QueryAction
ClearObjectStoreParams : github.com/goccy/go-json.Marshaler
*ClearObjectStoreParams : github.com/goccy/go-json.Unmarshaler
ClearObjectStoreParams : github.com/mailru/easyjson.Marshaler
*ClearObjectStoreParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*ClearObjectStoreParams : github.com/mailru/easyjson.Unmarshaler
ClearObjectStoreParams : encoding/json.Marshaler
*ClearObjectStoreParams : encoding/json.Unmarshaler
func ClearObjectStore(databaseName string, objectStoreName string) *ClearObjectStoreParams
func ClearObjectStoreParams.WithSecurityOrigin(securityOrigin string) *ClearObjectStoreParams
func ClearObjectStoreParams.WithStorageBucket(storageBucket *storage.Bucket) *ClearObjectStoreParams
func ClearObjectStoreParams.WithStorageKey(storageKey string) *ClearObjectStoreParams
DatabaseWithObjectStores database with an array of object stores.
See: https://chromedevtools.github.io/devtools-protocol/tot/IndexedDB#type-DatabaseWithObjectStores
// Database name.
// Object stores in this database.
// Database version (type is not 'integer', as the standard requires the version number to be 'unsigned long long')
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
DatabaseWithObjectStores : github.com/goccy/go-json.Marshaler
*DatabaseWithObjectStores : github.com/goccy/go-json.Unmarshaler
DatabaseWithObjectStores : github.com/mailru/easyjson.Marshaler
*DatabaseWithObjectStores : github.com/mailru/easyjson.MarshalerUnmarshaler
*DatabaseWithObjectStores : github.com/mailru/easyjson.Unmarshaler
DatabaseWithObjectStores : encoding/json.Marshaler
*DatabaseWithObjectStores : encoding/json.Unmarshaler
func (*RequestDatabaseParams).Do(ctx context.Context) (databaseWithObjectStores *DatabaseWithObjectStores, err error)
DataEntry data entry.
See: https://chromedevtools.github.io/devtools-protocol/tot/IndexedDB#type-DataEntry
// Key object.
// Primary key object.
// Value object.
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 (*RequestDataParams).Do(ctx context.Context) (objectStoreDataEntries []*DataEntry, hasMore bool, err error)
DeleteDatabaseParams deletes a database.
// Database name.
// At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin.
// Storage bucket. If not specified, it uses the default bucket.
// Storage key.
Do executes IndexedDB.deleteDatabase against the provided context.
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,
or storageBucket must be specified. Security origin.
WithStorageBucket storage bucket. If not specified, it uses the default
bucket.
WithStorageKey storage key.
*DeleteDatabaseParams : github.com/chromedp/chromedp.Action
*DeleteDatabaseParams : github.com/chromedp/chromedp.CallAction
*DeleteDatabaseParams : github.com/chromedp/chromedp.EmulateAction
*DeleteDatabaseParams : github.com/chromedp/chromedp.EvaluateAction
*DeleteDatabaseParams : github.com/chromedp/chromedp.KeyAction
*DeleteDatabaseParams : github.com/chromedp/chromedp.MouseAction
*DeleteDatabaseParams : github.com/chromedp/chromedp.NavigateAction
*DeleteDatabaseParams : github.com/chromedp/chromedp.PollAction
*DeleteDatabaseParams : github.com/chromedp/chromedp.QueryAction
DeleteDatabaseParams : github.com/goccy/go-json.Marshaler
*DeleteDatabaseParams : github.com/goccy/go-json.Unmarshaler
DeleteDatabaseParams : github.com/mailru/easyjson.Marshaler
*DeleteDatabaseParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*DeleteDatabaseParams : github.com/mailru/easyjson.Unmarshaler
DeleteDatabaseParams : encoding/json.Marshaler
*DeleteDatabaseParams : encoding/json.Unmarshaler
func DeleteDatabase(databaseName string) *DeleteDatabaseParams
func DeleteDatabaseParams.WithSecurityOrigin(securityOrigin string) *DeleteDatabaseParams
func DeleteDatabaseParams.WithStorageBucket(storageBucket *storage.Bucket) *DeleteDatabaseParams
func DeleteDatabaseParams.WithStorageKey(storageKey string) *DeleteDatabaseParams
DeleteObjectStoreEntriesParams delete a range of entries from an object
store.
DatabaseName string
// Range of entry keys to delete
ObjectStoreName string
// At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin.
// Storage bucket. If not specified, it uses the default bucket.
// Storage key.
Do executes IndexedDB.deleteObjectStoreEntries against the provided context.
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,
or storageBucket must be specified. Security origin.
WithStorageBucket storage bucket. If not specified, it uses the default
bucket.
WithStorageKey storage key.
*DeleteObjectStoreEntriesParams : github.com/chromedp/chromedp.Action
*DeleteObjectStoreEntriesParams : github.com/chromedp/chromedp.CallAction
*DeleteObjectStoreEntriesParams : github.com/chromedp/chromedp.EmulateAction
*DeleteObjectStoreEntriesParams : github.com/chromedp/chromedp.EvaluateAction
*DeleteObjectStoreEntriesParams : github.com/chromedp/chromedp.KeyAction
*DeleteObjectStoreEntriesParams : github.com/chromedp/chromedp.MouseAction
*DeleteObjectStoreEntriesParams : github.com/chromedp/chromedp.NavigateAction
*DeleteObjectStoreEntriesParams : github.com/chromedp/chromedp.PollAction
*DeleteObjectStoreEntriesParams : github.com/chromedp/chromedp.QueryAction
DeleteObjectStoreEntriesParams : github.com/goccy/go-json.Marshaler
*DeleteObjectStoreEntriesParams : github.com/goccy/go-json.Unmarshaler
DeleteObjectStoreEntriesParams : github.com/mailru/easyjson.Marshaler
*DeleteObjectStoreEntriesParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*DeleteObjectStoreEntriesParams : github.com/mailru/easyjson.Unmarshaler
DeleteObjectStoreEntriesParams : encoding/json.Marshaler
*DeleteObjectStoreEntriesParams : encoding/json.Unmarshaler
func DeleteObjectStoreEntries(databaseName string, objectStoreName string, keyRange *KeyRange) *DeleteObjectStoreEntriesParams
func DeleteObjectStoreEntriesParams.WithSecurityOrigin(securityOrigin string) *DeleteObjectStoreEntriesParams
func DeleteObjectStoreEntriesParams.WithStorageBucket(storageBucket *storage.Bucket) *DeleteObjectStoreEntriesParams
func DeleteObjectStoreEntriesParams.WithStorageKey(storageKey string) *DeleteObjectStoreEntriesParams
DisableParams disables events from backend.
Do executes IndexedDB.disable against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*DisableParams : github.com/chromedp/chromedp.Action
*DisableParams : github.com/chromedp/chromedp.CallAction
*DisableParams : github.com/chromedp/chromedp.EmulateAction
*DisableParams : github.com/chromedp/chromedp.EvaluateAction
*DisableParams : github.com/chromedp/chromedp.KeyAction
*DisableParams : github.com/chromedp/chromedp.MouseAction
*DisableParams : github.com/chromedp/chromedp.NavigateAction
*DisableParams : github.com/chromedp/chromedp.PollAction
*DisableParams : github.com/chromedp/chromedp.QueryAction
DisableParams : github.com/goccy/go-json.Marshaler
*DisableParams : github.com/goccy/go-json.Unmarshaler
DisableParams : github.com/mailru/easyjson.Marshaler
*DisableParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*DisableParams : github.com/mailru/easyjson.Unmarshaler
DisableParams : encoding/json.Marshaler
*DisableParams : encoding/json.Unmarshaler
func Disable() *DisableParams
EnableParams enables events from backend.
Do executes IndexedDB.enable against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*EnableParams : github.com/chromedp/chromedp.Action
*EnableParams : github.com/chromedp/chromedp.CallAction
*EnableParams : github.com/chromedp/chromedp.EmulateAction
*EnableParams : github.com/chromedp/chromedp.EvaluateAction
*EnableParams : github.com/chromedp/chromedp.KeyAction
*EnableParams : github.com/chromedp/chromedp.MouseAction
*EnableParams : github.com/chromedp/chromedp.NavigateAction
*EnableParams : github.com/chromedp/chromedp.PollAction
*EnableParams : github.com/chromedp/chromedp.QueryAction
EnableParams : github.com/goccy/go-json.Marshaler
*EnableParams : github.com/goccy/go-json.Unmarshaler
EnableParams : github.com/mailru/easyjson.Marshaler
*EnableParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*EnableParams : github.com/mailru/easyjson.Unmarshaler
EnableParams : encoding/json.Marshaler
*EnableParams : encoding/json.Unmarshaler
func Enable() *EnableParams
GetMetadataParams gets metadata of an object store.
// Database name.
// Object store name.
// At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin.
// Storage bucket. If not specified, it uses the default bucket.
// Storage key.
Do executes IndexedDB.getMetadata against the provided context.
returns:
entriesCount - the entries count
keyGeneratorValue - the current value of key generator, to become the next inserted key into the object store. Valid if objectStore.autoIncrement is true.
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,
or storageBucket must be specified. Security origin.
WithStorageBucket storage bucket. If not specified, it uses the default
bucket.
WithStorageKey storage key.
GetMetadataParams : github.com/goccy/go-json.Marshaler
*GetMetadataParams : github.com/goccy/go-json.Unmarshaler
GetMetadataParams : github.com/mailru/easyjson.Marshaler
*GetMetadataParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetMetadataParams : github.com/mailru/easyjson.Unmarshaler
GetMetadataParams : encoding/json.Marshaler
*GetMetadataParams : encoding/json.Unmarshaler
func GetMetadata(databaseName string, objectStoreName string) *GetMetadataParams
func GetMetadataParams.WithSecurityOrigin(securityOrigin string) *GetMetadataParams
func GetMetadataParams.WithStorageBucket(storageBucket *storage.Bucket) *GetMetadataParams
func GetMetadataParams.WithStorageKey(storageKey string) *GetMetadataParams
GetMetadataReturns return values.
// the entries count
// the current value of key generator, to become the next inserted key into the object store. Valid if objectStore.autoIncrement is true.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetMetadataReturns : github.com/goccy/go-json.Marshaler
*GetMetadataReturns : github.com/goccy/go-json.Unmarshaler
GetMetadataReturns : github.com/mailru/easyjson.Marshaler
*GetMetadataReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetMetadataReturns : github.com/mailru/easyjson.Unmarshaler
GetMetadataReturns : encoding/json.Marshaler
*GetMetadataReturns : encoding/json.Unmarshaler
Key Key.
See: https://chromedevtools.github.io/devtools-protocol/tot/IndexedDB#type-Key
// Array value.
// Date value.
// Number value.
// String value.
// Key type.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
Key : github.com/goccy/go-json.Marshaler
*Key : github.com/goccy/go-json.Unmarshaler
Key : github.com/mailru/easyjson.Marshaler
*Key : github.com/mailru/easyjson.MarshalerUnmarshaler
*Key : github.com/mailru/easyjson.Unmarshaler
Key : encoding/json.Marshaler
*Key : encoding/json.Unmarshaler
KeyPath key path.
See: https://chromedevtools.github.io/devtools-protocol/tot/IndexedDB#type-KeyPath
// Array value.
// String value.
// Key path type.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
KeyPath : github.com/goccy/go-json.Marshaler
*KeyPath : github.com/goccy/go-json.Unmarshaler
KeyPath : github.com/mailru/easyjson.Marshaler
*KeyPath : github.com/mailru/easyjson.MarshalerUnmarshaler
*KeyPath : github.com/mailru/easyjson.Unmarshaler
KeyPath : encoding/json.Marshaler
*KeyPath : encoding/json.Unmarshaler
KeyPathType key path type.
See: https://chromedevtools.github.io/devtools-protocol/tot/IndexedDB#type-KeyPath
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the KeyPathType as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
KeyPathType : github.com/goccy/go-json.Marshaler
*KeyPathType : github.com/goccy/go-json.Unmarshaler
KeyPathType : github.com/mailru/easyjson.Marshaler
*KeyPathType : github.com/mailru/easyjson.MarshalerUnmarshaler
*KeyPathType : github.com/mailru/easyjson.Unmarshaler
KeyPathType : encoding/json.Marshaler
*KeyPathType : encoding/json.Unmarshaler
KeyPathType : expvar.Var
KeyPathType : fmt.Stringer
const KeyPathTypeArray
const KeyPathTypeNull
const KeyPathTypeString
KeyRange key range.
See: https://chromedevtools.github.io/devtools-protocol/tot/IndexedDB#type-KeyRange
// Lower bound.
// If true lower bound is open.
// Upper bound.
// If true upper bound is open.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
KeyRange : github.com/goccy/go-json.Marshaler
*KeyRange : github.com/goccy/go-json.Unmarshaler
KeyRange : github.com/mailru/easyjson.Marshaler
*KeyRange : github.com/mailru/easyjson.MarshalerUnmarshaler
*KeyRange : github.com/mailru/easyjson.Unmarshaler
KeyRange : encoding/json.Marshaler
*KeyRange : encoding/json.Unmarshaler
func DeleteObjectStoreEntries(databaseName string, objectStoreName string, keyRange *KeyRange) *DeleteObjectStoreEntriesParams
func RequestDataParams.WithKeyRange(keyRange *KeyRange) *RequestDataParams
KeyType key type.
See: https://chromedevtools.github.io/devtools-protocol/tot/IndexedDB#type-Key
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the KeyType as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
KeyType : github.com/goccy/go-json.Marshaler
*KeyType : github.com/goccy/go-json.Unmarshaler
KeyType : github.com/mailru/easyjson.Marshaler
*KeyType : github.com/mailru/easyjson.MarshalerUnmarshaler
*KeyType : github.com/mailru/easyjson.Unmarshaler
KeyType : encoding/json.Marshaler
*KeyType : encoding/json.Unmarshaler
KeyType : expvar.Var
KeyType : fmt.Stringer
const KeyTypeArray
const KeyTypeDate
const KeyTypeNumber
const KeyTypeString
ObjectStore object store.
See: https://chromedevtools.github.io/devtools-protocol/tot/IndexedDB#type-ObjectStore
// If true, object store has auto increment flag set.
// Indexes in this object store.
// Object store key path.
// Object store name.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
ObjectStore : github.com/goccy/go-json.Marshaler
*ObjectStore : github.com/goccy/go-json.Unmarshaler
ObjectStore : github.com/mailru/easyjson.Marshaler
*ObjectStore : github.com/mailru/easyjson.MarshalerUnmarshaler
*ObjectStore : github.com/mailru/easyjson.Unmarshaler
ObjectStore : encoding/json.Marshaler
*ObjectStore : encoding/json.Unmarshaler
ObjectStoreIndex object store index.
See: https://chromedevtools.github.io/devtools-protocol/tot/IndexedDB#type-ObjectStoreIndex
// Index key path.
// If true, index allows multiple entries for a key.
// Index name.
// If true, index is unique.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
ObjectStoreIndex : github.com/goccy/go-json.Marshaler
*ObjectStoreIndex : github.com/goccy/go-json.Unmarshaler
ObjectStoreIndex : github.com/mailru/easyjson.Marshaler
*ObjectStoreIndex : github.com/mailru/easyjson.MarshalerUnmarshaler
*ObjectStoreIndex : github.com/mailru/easyjson.Unmarshaler
ObjectStoreIndex : encoding/json.Marshaler
*ObjectStoreIndex : encoding/json.Unmarshaler
RequestDatabaseNamesParams requests database names for given security
origin.
// 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 IndexedDB.requestDatabaseNames against the provided context.
returns:
databaseNames - Database names for 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,
or storageBucket must be specified. Security origin.
WithStorageBucket storage bucket. If not specified, it uses the default
bucket.
WithStorageKey storage key.
RequestDatabaseNamesParams : github.com/goccy/go-json.Marshaler
*RequestDatabaseNamesParams : github.com/goccy/go-json.Unmarshaler
RequestDatabaseNamesParams : github.com/mailru/easyjson.Marshaler
*RequestDatabaseNamesParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*RequestDatabaseNamesParams : github.com/mailru/easyjson.Unmarshaler
RequestDatabaseNamesParams : encoding/json.Marshaler
*RequestDatabaseNamesParams : encoding/json.Unmarshaler
func RequestDatabaseNames() *RequestDatabaseNamesParams
func RequestDatabaseNamesParams.WithSecurityOrigin(securityOrigin string) *RequestDatabaseNamesParams
func RequestDatabaseNamesParams.WithStorageBucket(storageBucket *storage.Bucket) *RequestDatabaseNamesParams
func RequestDatabaseNamesParams.WithStorageKey(storageKey string) *RequestDatabaseNamesParams
RequestDatabaseNamesReturns return values.
// Database names for origin.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
RequestDatabaseNamesReturns : github.com/goccy/go-json.Marshaler
*RequestDatabaseNamesReturns : github.com/goccy/go-json.Unmarshaler
RequestDatabaseNamesReturns : github.com/mailru/easyjson.Marshaler
*RequestDatabaseNamesReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*RequestDatabaseNamesReturns : github.com/mailru/easyjson.Unmarshaler
RequestDatabaseNamesReturns : encoding/json.Marshaler
*RequestDatabaseNamesReturns : encoding/json.Unmarshaler
RequestDatabaseParams requests database with given name in given frame.
// Database name.
// At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin.
// Storage bucket. If not specified, it uses the default bucket.
// Storage key.
Do executes IndexedDB.requestDatabase against the provided context.
returns:
databaseWithObjectStores - Database with an array of object stores.
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,
or storageBucket must be specified. Security origin.
WithStorageBucket storage bucket. If not specified, it uses the default
bucket.
WithStorageKey storage key.
RequestDatabaseParams : github.com/goccy/go-json.Marshaler
*RequestDatabaseParams : github.com/goccy/go-json.Unmarshaler
RequestDatabaseParams : github.com/mailru/easyjson.Marshaler
*RequestDatabaseParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*RequestDatabaseParams : github.com/mailru/easyjson.Unmarshaler
RequestDatabaseParams : encoding/json.Marshaler
*RequestDatabaseParams : encoding/json.Unmarshaler
func RequestDatabase(databaseName string) *RequestDatabaseParams
func RequestDatabaseParams.WithSecurityOrigin(securityOrigin string) *RequestDatabaseParams
func RequestDatabaseParams.WithStorageBucket(storageBucket *storage.Bucket) *RequestDatabaseParams
func RequestDatabaseParams.WithStorageKey(storageKey string) *RequestDatabaseParams
RequestDatabaseReturns return values.
// Database with an array of object stores.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
RequestDatabaseReturns : github.com/goccy/go-json.Marshaler
*RequestDatabaseReturns : github.com/goccy/go-json.Unmarshaler
RequestDatabaseReturns : github.com/mailru/easyjson.Marshaler
*RequestDatabaseReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*RequestDatabaseReturns : github.com/mailru/easyjson.Unmarshaler
RequestDatabaseReturns : encoding/json.Marshaler
*RequestDatabaseReturns : encoding/json.Unmarshaler
RequestDataParams requests data from object store or index.
// Database name.
// Index name, empty string for object store data requests.
// Key range.
// Object store name.
// Number of records to fetch.
// At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin.
// Number of records to skip.
// Storage bucket. If not specified, it uses the default bucket.
// Storage key.
Do executes IndexedDB.requestData against the provided context.
returns:
objectStoreDataEntries - Array of object store data entries.
hasMore - If true, there are more entries to fetch in the given range.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithKeyRange key range.
WithSecurityOrigin at least and at most one of securityOrigin, storageKey,
or storageBucket must be specified. Security origin.
WithStorageBucket storage bucket. If not specified, it uses the default
bucket.
WithStorageKey storage key.
RequestDataParams : github.com/goccy/go-json.Marshaler
*RequestDataParams : github.com/goccy/go-json.Unmarshaler
RequestDataParams : github.com/mailru/easyjson.Marshaler
*RequestDataParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*RequestDataParams : github.com/mailru/easyjson.Unmarshaler
RequestDataParams : encoding/json.Marshaler
*RequestDataParams : encoding/json.Unmarshaler
func RequestData(databaseName string, objectStoreName string, indexName string, skipCount int64, pageSize int64) *RequestDataParams
func RequestDataParams.WithKeyRange(keyRange *KeyRange) *RequestDataParams
func RequestDataParams.WithSecurityOrigin(securityOrigin string) *RequestDataParams
func RequestDataParams.WithStorageBucket(storageBucket *storage.Bucket) *RequestDataParams
func RequestDataParams.WithStorageKey(storageKey string) *RequestDataParams
RequestDataReturns return values.
// If true, there are more entries to fetch in the given range.
// Array of object store data entries.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
RequestDataReturns : github.com/goccy/go-json.Marshaler
*RequestDataReturns : github.com/goccy/go-json.Unmarshaler
RequestDataReturns : github.com/mailru/easyjson.Marshaler
*RequestDataReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*RequestDataReturns : github.com/mailru/easyjson.Unmarshaler
RequestDataReturns : encoding/json.Marshaler
*RequestDataReturns : encoding/json.Unmarshaler
Package-Level Functions (total 9)
ClearObjectStore clears all entries from an object store.
See: https://chromedevtools.github.io/devtools-protocol/tot/IndexedDB#method-clearObjectStore
parameters:
databaseName - Database name.
objectStoreName - Object store name.
DeleteDatabase deletes a database.
See: https://chromedevtools.github.io/devtools-protocol/tot/IndexedDB#method-deleteDatabase
parameters:
databaseName - Database name.
DeleteObjectStoreEntries delete a range of entries from an object store.
See: https://chromedevtools.github.io/devtools-protocol/tot/IndexedDB#method-deleteObjectStoreEntries
parameters:
databaseName
objectStoreName
keyRange - Range of entry keys to delete
Disable disables events from backend.
See: https://chromedevtools.github.io/devtools-protocol/tot/IndexedDB#method-disable
Enable enables events from backend.
See: https://chromedevtools.github.io/devtools-protocol/tot/IndexedDB#method-enable
GetMetadata gets metadata of an object store.
See: https://chromedevtools.github.io/devtools-protocol/tot/IndexedDB#method-getMetadata
parameters:
databaseName - Database name.
objectStoreName - Object store name.
RequestData requests data from object store or index.
See: https://chromedevtools.github.io/devtools-protocol/tot/IndexedDB#method-requestData
parameters:
databaseName - Database name.
objectStoreName - Object store name.
indexName - Index name, empty string for object store data requests.
skipCount - Number of records to skip.
pageSize - Number of records to fetch.
RequestDatabase requests database with given name in given frame.
See: https://chromedevtools.github.io/devtools-protocol/tot/IndexedDB#method-requestDatabase
parameters:
databaseName - Database name.
RequestDatabaseNames requests database names for given security origin.
See: https://chromedevtools.github.io/devtools-protocol/tot/IndexedDB#method-requestDatabaseNames
parameters:
Package-Level Constants (total 16)
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
KeyPathType values.
KeyPathType values.
KeyPathType values.
KeyType values.
KeyType values.
KeyType values.
KeyType values.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |