jacket-code / redlock-cpp

C++实现redis分布式锁(Redlock Redis-based distributed locks implementation in C++)
BSD 2-Clause "Simplified" License
194 stars 72 forks source link

not support redis auth #5

Open lxn179208 opened 6 years ago

lxn179208 commented 6 years ago

my redis needs name and password auth

Magge-Lin commented 2 months ago

你给AddServerUrl加个const char*类型的参数,在AddServerUrl函数里面调用redisCommand进行密码验证不就完了。