jsindexeddb

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2020 License: Apache-2.0 Imports: 5 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 {
}

Provider jsindexeddb implementation of storage.Provider interface

func NewProvider

func NewProvider() (*Provider, error)

NewProvider instantiates Provider

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