//DLock use distribute lock, always return true if client does not implement gevent.DistributeLocker
DLock use distribute lock, always return true if client does not implement gevent.DistributeLocker
// DLock use distribute lock always return true if client does not implement gevent . DistributeLocker
func (w *clientWrapper) DLock(ctx context.Context, key, value string, expire time.Duration) bool {
	if locker, ok := w.client.(DistributeLocker); ok {
		return locker.DLock(ctx, key, value, expire)
	}
	return true
}
func ( w * clientWrapper ) DLock ( ctx context . Context , key , value string , expire time . Duration ) bool { if locker , ok := w . client . ( DistributeLocker ) ; ok { return locker . DLock ( ctx , key , value , expire ) } return true }
DLock use distribute lock, always return true if client does not implement gevent.DistributeLocker
DLock use distribute lock always return true if client does not implement gevent . DistributeLocker
//check client have implement locker interface or not