jsindexeddb

package
v0.1.3-0...-617a0de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

Provider jsindexeddb implementation of storage.Provider interface

func NewProvider

func NewProvider(name string) (*Provider, error)

NewProvider instantiates Provider TODO Add unit test for IndexedDB https://github.com/hyperledger/aries-framework-go/issues/834

func (*Provider) Close

func (p *Provider) Close() error

Close closes all stores created under this store provider

func (*Provider) CloseStore

func (p *Provider) CloseStore(name string) error

CloseStore closes level db store of given name

func (*Provider) OpenStore

func (p *Provider) OpenStore(name string) (storage.Store, error)

OpenStore open store

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL