1. 04 7月, 2017 1 次提交
    • Q
      pserver etcd client (#2559) · 9045063b
      Qiao Longfei 提交于
      * init etcd cclient
      
      * add etcd
      
      * add etcd.go
      
      * fix compile problem
      
      * move code to etcd.go
      
      * add etcd_lister.go for pserver client
      
      * add etcd_client_test.go
      
      * merge etcd_client_test and client_test
      
      * refine client_test.go
      
      * refine code
      
      * format code
      
      * add TODO and use interface instead of struct
      
      * fix typo of initDesiredPservers
      
      * optimize dir structure of go/pserver/client
      
      * add a flag to config index for pserver
      
      * follow comment
      
      * fix path
      
      * optimize code
      
      * remove err in pserver NewEtcd
      
      * restore comment about /ps_desired
      9045063b