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

..03-May-2022-

bindings/H03-May-2022-610449

test/H01-Sep-2018-362288

travis/H01-Sep-2018-8869

.gitignoreH A D01-Sep-201878 87

.linter.jsonH A D01-Sep-2018194 76

.travis.ymlH A D01-Sep-2018573 3128

LICENSE.mdH A D01-Sep-2018558 1410

README.mdH A D01-Sep-20181.4 KiB4431

attachments.goH A D01-Sep-20182.9 KiB10587

auth.goH A D01-Sep-2018390 1711

basicauth.goH A D01-Sep-2018491 2114

bulk.goH A D01-Sep-20181.4 KiB6757

changes.goH A D01-Sep-20182.2 KiB10795

db.goH A D01-Sep-20183.4 KiB137113

db_test.goH A D01-Sep-2018951 3630

doc.goH A D01-Sep-2018523 231

find.goH A D01-Sep-20184.3 KiB181156

find_test.goH A D01-Sep-20184.9 KiB178170

glide.yamlH A D01-Sep-2018404 1918

js.goH A D01-Sep-2018104 84

pouchdb.goH A D01-Sep-20184.5 KiB188156

pouchdb6-package.jsonH A D01-Sep-2018513 2019

pouchdb7-package.jsonH A D01-Sep-2018513 2019

replication.goH A D01-Sep-20184.7 KiB163142

replicationEvents.goH A D01-Sep-20183 KiB131113

rows.goH A D01-Sep-20181.2 KiB5946

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