libkv – github.com/docker/libkv Index | Files | Directories

package libkv

import "github.com/docker/libkv"

Index

Functions

func AddStore

func AddStore(store store.Backend, init Initialize)

AddStore adds a new store backend to libkv

func NewStore

func NewStore(backend store.Backend, addrs []string, options *store.Config) (store.Store, error)

NewStore creates an instance of store

Types

type Initialize

type Initialize func(addrs []string, options *store.Config) (store.Store, error)

Initialize creates a new Store object, initializing the client

Source Files

libkv.go

Directories

PathSynopsis
store
store/boltdb
store/consul
store/etcd
store/mock
store/zookeeper
testutils
Version
v0.2.1 (latest)
Published
Jul 20, 2016
Platform
js/wasm
Imports
4 packages
Last checked
3 weeks ago

Tools for package owners.