|
|
@@ -76,7 +76,7 @@ func HEXISTS(conn redis.Conn, key string, subKey string) (bool, error) { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
func Expire(conn redis.Conn, key string, seconds int) error { |
|
|
|
func EXPIRE(conn redis.Conn, key string, seconds int) error { |
|
|
|
_, err := conn.Do("EXPIRE", key, seconds) |
|
|
|
return err |
|
|
|
|
|
|
|