Example #1
0
 /// <summary>
 /// 设置指定Key的过期时间
 /// </summary>
 /// <param name="token">具体的key值</param>
 /// <param name="seconds">过期时间,单位:秒</param>
 public static void Expire(string token, int seconds)
 {
     client.Expire(token, seconds);
 }