Beispiel #1
0
 public void Info_Test()
 {
     string MasterIp = "127.0.0.1";
         int MasterPort = 6379;
     using (var rcClient = new RedisClient(MasterIp,MasterPort))
     {
         var info = rcClient.Info;
         foreach (var item in info)
         {
             Debug.Write(item.Key + ":" + item.Value + "\r\n");
         }
     }
 }
Beispiel #2
0
 public RedisSentinel(RedisConfig config)
 {
     client = new RedisClient(config);
 }
Beispiel #3
0
 public RedisSentinel(RedisConfig config)
 {
     client = new RedisClient(config);
 }