MCPcopy Create free account
hub / github.com/cloudwan/gohan / Sync

Struct Sync

sync/etcd/etcd.go:37–41  ·  view source on GitHub ↗

Sync is struct for etcd based sync

Source from the content-addressed store, hash-verified

35
36//Sync is struct for etcd based sync
37type Sync struct {
38 locks cmap.ConcurrentMap
39 etcdClient *etcd.Client
40 processID string
41}
42
43//NewSync initialize new etcd sync
44func NewSync(etcdServers []string) *Sync {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected