PouchDB driver for Kivik
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bindings
test
travis
.gitignore
.linter.json
.travis.yml
LICENSE.md
README.md
attachments.go
auth.go
basicauth.go
bulk.go
changes.go
db.go
db_test.go
doc.go
find.go
find_test.go
glide.yaml
js.go
pouchdb.go
pouchdb6-package.json
pouchdb7-package.json
replication.go
replicationEvents.go
rows.go

README.md

Build Status GoDoc

Kivik PouchDB

PouchDB driver for Kivik.

Usage

This package provides an implementation of the github.com/go-kivik/kivik/driver interface. You must import the driver and can then use the full Kivik API. Please consult the Kivik wiki for complete documentation and coding examples.

// +build js

package main

import (
    "context"

    "github.com/go-kivik/kivik"
    _ "github.com/go-kivik/pouchdb" // The PouchDB driver
)

func main() {
    client, err := kivik.New(context.TODO(), "pouch", "")
    // ...
}

This package is intended to run in a JavaScript runtime, such as a browser or Node.js, and must be compiled with GopherJS. At runtime, the PouchDB JavaScript library must also be loaded and available.

What license is Kivik released under?

This software is released under the terms of the Apache 2.0 license. See LICENCE.md, or read the full license.