transientstore

package
v0.0.0-...-bfcd41d Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStoreProvider

func NewStoreProvider(path string) (storageapi.TransientStoreProvider, error)

NewStoreProvider returns a new store provider

Types

type ProviderImpl

type ProviderImpl struct {
	// contains filtered or unexported fields
}

Provider is a transient store provider

func (*ProviderImpl) Close

func (p *ProviderImpl) Close()

Close closes all transient stores

func (*ProviderImpl) OpenStore

func (p *ProviderImpl) OpenStore(ledgerID string) (storageapi.TransientStore, error)

OpenStore opens the transient store for the given ledger

Jump to

Keyboard shortcuts

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