database

package
v0.0.0-...-0585dc5 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2018 License: GPL-3.0, LGPL-3.0, LGPL-3.0-or-later Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenDatabase

func OpenDatabase() (*badger.DB, error)

Open a Badger database in a local ./db directory

func OpenTestDatabase

func OpenTestDatabase() (*badger.DB, error)

Open a test Badger database in a /tmp/badger directory

func PurgeTestDatabase

func PurgeTestDatabase() error

purge /tmp/badger

Types

This section is empty.

Jump to

Keyboard shortcuts

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