issues
search
shinberg
/
cpp-hiredis-cluster
c++ cluster wrapper for hiredis with async and unix sockets features
BSD 3-Clause "New" or "Revised" License
65
stars
26
forks
source link
Change redis callback from function pointer to functor.
#17
Closed
jinq0123
closed
7 years ago
jinq0123
commented
7 years ago
typedef void (redisCallbackFn)( typename Cluster::ptr_t cluster_p, void
, void
);
typedef std::function<void (const redisReply& reply)> RedisCallback;