util

package
v0.0.0-...-ba1c585 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2017 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DestroyStore

func DestroyStore(engine, path string) error

DestroyStore destroys the specified store. Idempotent.

func OpenStore

func OpenStore(engine, path string, opts OpenOptions) (store.Store, error)

OpenStore opens the given store.Store. OpenOptions are respected to the degree possible for the specified engine.

Types

type OpenOptions

type OpenOptions struct {
	CreateIfMissing bool
	ErrorIfExists   bool
}

Jump to

Keyboard shortcuts

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