Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
bindings/ | H | 03-May-2022 | - | 610 | 449 | |
test/ | H | 01-Sep-2018 | - | 362 | 288 | |
travis/ | H | 01-Sep-2018 | - | 88 | 69 | |
.gitignore | H A D | 01-Sep-2018 | 78 | 8 | 7 | |
.linter.json | H A D | 01-Sep-2018 | 194 | 7 | 6 | |
.travis.yml | H A D | 01-Sep-2018 | 573 | 31 | 28 | |
LICENSE.md | H A D | 01-Sep-2018 | 558 | 14 | 10 | |
README.md | H A D | 01-Sep-2018 | 1.4 KiB | 44 | 31 | |
attachments.go | H A D | 01-Sep-2018 | 2.9 KiB | 105 | 87 | |
auth.go | H A D | 01-Sep-2018 | 390 | 17 | 11 | |
basicauth.go | H A D | 01-Sep-2018 | 491 | 21 | 14 | |
bulk.go | H A D | 01-Sep-2018 | 1.4 KiB | 67 | 57 | |
changes.go | H A D | 01-Sep-2018 | 2.2 KiB | 107 | 95 | |
db.go | H A D | 01-Sep-2018 | 3.4 KiB | 137 | 113 | |
db_test.go | H A D | 01-Sep-2018 | 951 | 36 | 30 | |
doc.go | H A D | 01-Sep-2018 | 523 | 23 | 1 | |
find.go | H A D | 01-Sep-2018 | 4.3 KiB | 181 | 156 | |
find_test.go | H A D | 01-Sep-2018 | 4.9 KiB | 178 | 170 | |
glide.yaml | H A D | 01-Sep-2018 | 404 | 19 | 18 | |
js.go | H A D | 01-Sep-2018 | 104 | 8 | 4 | |
pouchdb.go | H A D | 01-Sep-2018 | 4.5 KiB | 188 | 156 | |
pouchdb6-package.json | H A D | 01-Sep-2018 | 513 | 20 | 19 | |
pouchdb7-package.json | H A D | 01-Sep-2018 | 513 | 20 | 19 | |
replication.go | H A D | 01-Sep-2018 | 4.7 KiB | 163 | 142 | |
replicationEvents.go | H A D | 01-Sep-2018 | 3 KiB | 131 | 113 | |
rows.go | H A D | 01-Sep-2018 | 1.2 KiB | 59 | 46 |
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