Documentation
¶
Rendered for js/wasm
Overview ¶
Package fakes implements fake implementations of Chrome's extension APIs to ease unit testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Errs ¶
type Errs struct { // Get is the error that should be returned by Get(). Get error // Set is the error that should be returned by Set(). Set error // Delete is the error that should be returned by Delete(). Delete error }
Errs contains errors that should be returned by the fake implementation.
type Mem ¶
type Mem struct {
// contains filtered or unexported fields
}
Mem is an in-memory implementation of the storage.Area interface.
func (*Mem) Delete ¶
func (m *Mem) Delete(ctx jsutil.AsyncContext, keys []string) error
Delete implements Area.Delete().
Click to show internal directories.
Click to hide internal directories.