/fsdb

Filesystem-backed driver for Kivik

Primary LanguageGoApache License 2.0Apache-2.0

This code has moved to github.com/go-kivik/kivik/v4/fsdb.


Build Status Codecov GoDoc

Kivik FSDB

File system driver for Kivik v4.

This driver stores documents on a plain filesystem.

Status

This is very much a work in progress. Things are expected to change quickly.

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.

package main

import (
    "context"

    "github.com/go-kivik/kivik/v4"
    _ "github.com/go-kivik/fsdb/v4" // The File system driver
)

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

License

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