public IEnumerable <KeyValuePair <string, string> > GetRange(string keyPrefix)
        {
            DateTime?deadline = GetTimeOut();

            return(_etcdClient.GetRangeVal(keyPrefix, null, deadline));
        }
Пример #2
0
        public IDictionary <string, string> GetRangeVal(string key)
        {
            var rsp = client.GetRangeVal(key);

            return(rsp);
        }