@@ -5,23 +5,23 @@ extension RedisConnection {
55 /// Select the Redis logical database having the specified zero-based numeric index.
66 /// New connections always use the database 0.
77 ///
8- /// https://redis.io/commands/select
8+ /// [ https://redis.io/commands/select](https://redis.io/commands/select)
99 public func select( _ id: Int ) -> EventLoopFuture < Void > {
1010 return command ( " SELECT " , arguments: [ RESPValue ( bulk: id. description) ] )
1111 . map { _ in return ( ) }
1212 }
1313
1414 /// Request for authentication in a password-protected Redis server.
1515 ///
16- /// https://redis.io/commands/auth
16+ /// [ https://redis.io/commands/auth](https://redis.io/commands/auth)
1717 public func authorize( with password: String ) -> EventLoopFuture < Void > {
1818 return command ( " AUTH " , arguments: [ RESPValue ( bulk: password) ] )
1919 . map { _ in return ( ) }
2020 }
2121
2222 /// Removes the specified keys. A key is ignored if it does not exist.
2323 ///
24- /// https://redis.io/commands/del
24+ /// [ https://redis.io/commands/del](https://redis.io/commands/del)
2525 /// - Returns: A future number of keys that were removed.
2626 public func delete( _ keys: String ... ) -> EventLoopFuture < Int > {
2727 let keyArgs = keys. map { RESPValue ( bulk: $0) }
@@ -37,7 +37,7 @@ extension RedisConnection {
3737 /// Set a timeout on key. After the timeout has expired, the key will automatically be deleted.
3838 /// A key with an associated timeout is often said to be volatile in Redis terminology.
3939 ///
40- /// https://redis.io/commands/expire
40+ /// [ https://redis.io/commands/expire](https://redis.io/commands/expire)
4141 /// - Parameters:
4242 /// - after: The lifetime (in seconds) the key will expirate at.
4343 /// - Returns: A future bool indicating if the expiration was set or not.
@@ -55,7 +55,7 @@ extension RedisConnection {
5555 /// If the key does not exist the value will be `nil`.
5656 /// An error is resolved if the value stored at key is not a string, because GET only handles string values.
5757 ///
58- /// https://redis.io/commands/get
58+ /// [ https://redis.io/commands/get](https://redis.io/commands/get)
5959 public func get( _ key: String ) -> EventLoopFuture < String ? > {
6060 return command ( " GET " , arguments: [ RESPValue ( bulk: key) ] )
6161 . map { return $0. string }
@@ -65,7 +65,7 @@ extension RedisConnection {
6565 /// If key already holds a value, it is overwritten, regardless of its type.
6666 /// Any previous time to live associated with the key is discarded on successful SET operation.
6767 ///
68- /// https://redis.io/commands/set
68+ /// [ https://redis.io/commands/set](https://redis.io/commands/set)
6969 public func set( _ key: String , to value: String ) -> EventLoopFuture < Void > {
7070 return command ( " SET " , arguments: [ RESPValue ( bulk: key) , RESPValue ( bulk: value) ] )
7171 . map { _ in return ( ) }
0 commit comments