pouchdb

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

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.

Jump to

Keyboard shortcuts

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