store

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// ErrTransactionNotFound transaction not found
	ErrTransactionNotFound = errors.New("transaction not found")
)

Functions

func New

func New(uri string) (s manager.Store, err error)

New creates a new store with the registered suppliers from the given URI. URI spec: <store>:<arguments>

func Register

func Register(name string, s Supplier) (err error)

Register registers store suppliers

Types

type Supplier

type Supplier func(uri string) (s manager.Store, err error)

Supplier for manager.Store

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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