Skip to content
.Net client for etcd
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.nuget enabling package restore Jan 11, 2014
etcetera.specs not sure how this happened Oct 23, 2015
etcetera not sure how this happened Oct 23, 2015
.gitignore Initial commit Jan 11, 2014
.semver updating the rev Feb 21, 2014
Gemfile updating gemfile Jan 14, 2014
Gemfile.lock nuget package Jan 22, 2014
LICENSE Initial commit Jan 11, 2014
README.md Changed to show that there is an interface. Feb 23, 2014
Rakefile updating the rev Feb 21, 2014
etcetera.nuspec updating the rev Feb 21, 2014
etcetera.sln enabling package restore Jan 11, 2014

README.md

etcetera

.Net client for etcd - a highly-available key value store for shared configuration and service discovery.

#Getting started

Initialize

Create the client to work with assuming that you installed etcd on localhost:

IEtcdClient client = new EtcdClient(new Uri("http://localhost:4001/v2/keys/"));

Set a key

var test = client.Set("test/one", "1"); 

Get a key value

var test = client.Get("test/one", true); 

Watch for key changes

client.Watch("test/one", FollowUp); 

Followup is the callback function:

private static void FollowUp(EtcdResponse obj)
{
	// do the thing  
}

Other features

To be done...

You can’t perform that action at this time.