src/server/pkg/dlock/dlock.go
func NewDLock(client *etcd.Client, prefix string) DLock {
	return &etcdImpl{
		client: client,
		prefix: prefix,
	}
}
func NewDLock(client *etcd.Client, prefix string) DLock {
	return &etcdImpl{
		client: client,
		prefix: prefix,
	}
}
// NewDLock attempts to acquire a distributed lock that locks a given prefix
// in the data store.