Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶ added in v0.1.4
type Provider struct { }
Provider creates in-memory private data stores
func NewProvider ¶
func NewProvider() *Provider
NewProvider instantiates a private data storage Provider backed by cache
type StoreEnv ¶
type StoreEnv struct { TestStoreProvider *Provider TestStore xstorageapi.PrivateDataStore // contains filtered or unexported fields }
StoreEnv provides the store env for testing
func NewTestStoreEnv ¶
NewTestStoreEnv construct a StoreEnv for testing
func (*StoreEnv) CloseAndReopen ¶
func (env *StoreEnv) CloseAndReopen()
CloseAndReopen closes and opens the store Provider
Click to show internal directories.
Click to hide internal directories.