• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

bindings/H03-May-2022-

test/H01-Sep-2018-

travis/H01-Sep-2018-

.gitignoreH A D01-Sep-201878

.linter.jsonH A D01-Sep-2018194

.travis.ymlH A D01-Sep-2018573

LICENSE.mdH A D01-Sep-2018558

README.mdH A D01-Sep-20181.4 KiB

attachments.goH A D01-Sep-20182.9 KiB

auth.goH A D01-Sep-2018390

basicauth.goH A D01-Sep-2018491

bulk.goH A D01-Sep-20181.4 KiB

changes.goH A D01-Sep-20182.2 KiB

db.goH A D01-Sep-20183.4 KiB

db_test.goH A D01-Sep-2018951

doc.goH A D01-Sep-2018523

find.goH A D01-Sep-20184.3 KiB

find_test.goH A D01-Sep-20184.9 KiB

glide.yamlH A D01-Sep-2018404

js.goH A D01-Sep-2018104

pouchdb.goH A D01-Sep-20184.5 KiB

pouchdb6-package.jsonH A D01-Sep-2018513

pouchdb7-package.jsonH A D01-Sep-2018513

replication.goH A D01-Sep-20184.7 KiB

replicationEvents.goH A D01-Sep-20183 KiB

rows.goH A D01-Sep-20181.2 KiB

README.md

1[![Build Status](https://travis-ci.org/go-kivik/pouchdb.svg?branch=master)](https://travis-ci.org/go-kivik/pouchdb)  [![GoDoc](https://godoc.org/github.com/go-kivik/pouchdb?status.svg)](http://godoc.org/github.com/go-kivik/pouchdb)
2
3# Kivik PouchDB
4
5PouchDB driver for [Kivik](https://github.com/go-kivik/pouchdb).
6
7## Usage
8
9This package provides an implementation of the
10[`github.com/go-kivik/kivik/driver`](http://godoc.org/github.com/go-kivik/kivik/driver)
11interface. You must import the driver and can then use the full
12[`Kivik`](http://godoc.org/github.com/go-kivik/kivik) API. Please consult the
13[Kivik wiki](https://github.com/go-kivik/kivik/wiki) for complete documentation
14and coding examples.
15
16```go
17// +build js
18
19package main
20
21import (
22    "context"
23
24    "github.com/go-kivik/kivik"
25    _ "github.com/go-kivik/pouchdb" // The PouchDB driver
26)
27
28func main() {
29    client, err := kivik.New(context.TODO(), "pouch", "")
30    // ...
31}
32```
33
34This package is intended to run in a JavaScript runtime, such as a browser or
35Node.js, and must be compiled with
36[GopherJS](https://github.com/gopherjs/gopherjs). At runtime, the
37[PouchDB](https://pouchdb.com/download.html) JavaScript library must also be
38loaded and available.
39
40## What license is Kivik released under?
41
42This software is released under the terms of the Apache 2.0 license. See
43LICENCE.md, or read the [full license](http://www.apache.org/licenses/LICENSE-2.0).
44