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

package libkv

import "github.com/docker/libkv"

Index

Package Files

libkv.go

func AddStore Uses

func AddStore(store store.Backend, init Initialize)

AddStore adds a new store backend to libkv

func NewStore Uses

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

NewStore creates an instance of store

type Initialize Uses

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

Initialize creates a new Store object, initializing the client

Directories

PathSynopsis
store
store/boltdb
store/consul
store/etcd
store/mock
store/zookeeper
testutils

Package libkv imports 4 packages (graph) and is imported by 369 packages. Updated 2019-05-14. Refresh now. Tools for package owners.