Skip to content
This repository has been archived by the owner on Aug 27, 2019. It is now read-only.

Latest commit

 

History

History
25 lines (15 loc) · 463 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 463 Bytes

etcd Provider

This package contains the etcd provider for gokv.

To use this provide in your project, include the following line in main.go (or similar):

import _ "github.com/nethack42/gokv/providers/etcd"
store, _ := kv.Open("etcd", map[string]string{
    "endpoints": "http://node1:4001,http://node2:4001",
})

Parameters

endpoints

Required

Should contain one or more comma separated etcd endpoint URLs.