pouchdb

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2017 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package pouchdb provides a PouchDB driver for Kivik. This version of the package is deprecated, and no longer receiving updates. Please use github.com/go-kivik/pouchdb instead.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicAuth

type BasicAuth struct {
	Name     string
	Password string
}

BasicAuth handles HTTP Basic Auth for remote PouchDB connections. This is the only auth support built directly into PouchDB, so this is a very thin wrapper.

type Driver

type Driver struct{}

func (*Driver) NewClient

func (d *Driver) NewClient(_ context.Context, dsn string) (driver.Client, error)

NewClient returns a PouchDB client handle. Provide a dsn only for remote databases. Otherwise specify ""

type Options

type Options map[string]interface{}

Options is a struct of options, as documented in the PouchDB API.

Directories

Path Synopsis
Package bindings provides minimal GopherJS bindings around the PouchDB library.
Package bindings provides minimal GopherJS bindings around the PouchDB library.
poucherr
Package poucherr exists only for the purpose of testing the PouchDB binding's handling of PouchDB-specific error messages.
Package poucherr exists only for the purpose of testing the PouchDB binding's handling of PouchDB-specific error messages.

Jump to

Keyboard shortcuts

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