Version: v0.3.10 Latest Latest

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

Go to latest
Published: Apr 7, 2020 License: GPL-3.0 Imports: 2 Imported by: 0




This section is empty.


This section is empty.


func NewDB

func NewDB(dirPath string, cfg *kv.Config) (*kv.Store, error)

NewDB initializes a new DB.


type Database added in v0.3.2

type Database = iface.Database

Database defines the necessary methods for the Slasher's DB which may be implemented by any key-value or relational database in practice. This is the full database interface which should not be used often. Prefer a more restrictive interface in this package.

type FullAccessDatabase added in v0.3.2

type FullAccessDatabase = iface.FullAccessDatabase

FullAccessDatabase exposes Slasher's DB write and read functions for all slasher related buckets.

type ReadOnlyDatabase added in v0.3.2

type ReadOnlyDatabase = iface.ReadOnlyDatabase

ReadOnlyDatabase exposes the Slasher's DB read only functions for all slasher related buckets.

type WriteAccessDatabase added in v0.3.2

type WriteAccessDatabase = iface.WriteAccessDatabase

WriteAccessDatabase exposes the Slasher's DB writing functions for all slasher related buckets.

Source Files


Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL