Sync is struct for etcd based sync
| 35 | |
| 36 | //Sync is struct for etcd based sync |
| 37 | type Sync struct { |
| 38 | locks cmap.ConcurrentMap |
| 39 | etcdClient *etcd.Client |
| 40 | processID string |
| 41 | } |
| 42 | |
| 43 | //NewSync initialize new etcd sync |
| 44 | func NewSync(etcdServers []string) *Sync { |
nothing calls this directly
no outgoing calls
no test coverage detected