Documentation ¶
Overview ¶
Package localstorage implements untrusted local storage that is used by runtimes to store per-node key/value pairs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalStorage ¶
type LocalStorage interface { // Get retrieves a previously stored value under the given key. Get(key []byte) ([]byte, error) // Set sets a key to a specific value. Set(key, value []byte) error // Stop stops local storage. Stop() }
LocalStorage is the untrusted local storage interface.
Click to show internal directories.
Click to hide internal directories.