将读取配置单独抽出形成parameter API;支持Redis多机备份和故障切换。
This commit is contained in:
3
cache/src/tango_cache_redis.h
vendored
3
cache/src/tango_cache_redis.h
vendored
@@ -7,7 +7,8 @@
|
||||
#include "tango_cache_client_in.h"
|
||||
|
||||
int tango_cache_head_redis(struct tango_cache_ctx *ctx);
|
||||
int redis_asyn_connect_init(struct tango_cache_instance *instance);
|
||||
int redis_asyn_connect_init(struct tango_cache_instance *instance, const char *redisip);
|
||||
void main_redis_check_timer_start(struct tango_cache_instance *instance);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user