Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 21, 2023. It is now read-only.

go-kivik/memorydb

Repository files navigation

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


Build Status Codecov GoDoc

Kivik MemoryDB

Memory driver for Kivik.

This driver stores documents in memory only, and is intended for testing purposes only. Not all Kivik features are or will be supported. This package is still under active development.

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"
    _ "github.com/go-kivik/memorydb" // The Memory driver
)

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

License

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

About

Memory driver for Kivik

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors