Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.
/ fsdb Public archive

Filesystem-backed driver for Kivik

License

Notifications You must be signed in to change notification settings

go-kivik/fsdb

Repository files navigation

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.