Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
bindings/ | H | 03-May-2022 | - | |||
test/ | H | 01-Sep-2018 | - | |||
travis/ | H | 01-Sep-2018 | - | |||
.gitignore | H A D | 01-Sep-2018 | 78 | |||
.linter.json | H A D | 01-Sep-2018 | 194 | |||
.travis.yml | H A D | 01-Sep-2018 | 573 | |||
LICENSE.md | H A D | 01-Sep-2018 | 558 | |||
README.md | H A D | 01-Sep-2018 | 1.4 KiB | |||
attachments.go | H A D | 01-Sep-2018 | 2.9 KiB | |||
auth.go | H A D | 01-Sep-2018 | 390 | |||
basicauth.go | H A D | 01-Sep-2018 | 491 | |||
bulk.go | H A D | 01-Sep-2018 | 1.4 KiB | |||
changes.go | H A D | 01-Sep-2018 | 2.2 KiB | |||
db.go | H A D | 01-Sep-2018 | 3.4 KiB | |||
db_test.go | H A D | 01-Sep-2018 | 951 | |||
doc.go | H A D | 01-Sep-2018 | 523 | |||
find.go | H A D | 01-Sep-2018 | 4.3 KiB | |||
find_test.go | H A D | 01-Sep-2018 | 4.9 KiB | |||
glide.yaml | H A D | 01-Sep-2018 | 404 | |||
js.go | H A D | 01-Sep-2018 | 104 | |||
pouchdb.go | H A D | 01-Sep-2018 | 4.5 KiB | |||
pouchdb6-package.json | H A D | 01-Sep-2018 | 513 | |||
pouchdb7-package.json | H A D | 01-Sep-2018 | 513 | |||
replication.go | H A D | 01-Sep-2018 | 4.7 KiB | |||
replicationEvents.go | H A D | 01-Sep-2018 | 3 KiB | |||
rows.go | H A D | 01-Sep-2018 | 1.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