leveldbstore

package
v0.1.6 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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LevelDBProvider

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

LevelDBProvider provides a handle to a db

func NewDBProvider

func NewDBProvider() (*LevelDBProvider, error)

NewDBProvider constructs new db provider

func (*LevelDBProvider) Close

func (p *LevelDBProvider) Close()

Close cleans up the Provider

func (*LevelDBProvider) GetDB

func (p *LevelDBProvider) GetDB(channelID string, coll string, ns string) (api.DB, error)

GetDB opens the db store

Jump to

Keyboard shortcuts

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