couchdbstore

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: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CouchDBProvider

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

CouchDBProvider provides an handle to a db

func NewDBProvider

func NewDBProvider() *CouchDBProvider

NewDBProvider creates a CouchDB Provider

func (*CouchDBProvider) Close

func (p *CouchDBProvider) Close()

Close cleans up the Provider

func (*CouchDBProvider) GetDB

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

GetDB based on ns%coll

Jump to

Keyboard shortcuts

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