RedisInfo
public struct RedisInfo
A struct that contains a subset of the information returned by the Redis INFO command in a parsed and more consumable fashion.
-
A reference to the server information parsed from the response of the Redis INFO command.
Declaration
Swift
public let server: RedisInfoServer
-
A reference to the client information parsed from the response of the Redis INFO command.
Declaration
Swift
public let client: RedisInfoClient
-
Initialize a
RedisInfo
instance from the response of a Redis INFO command.Parameter
Parameter redisReply: ARedisString
containing the response of the Redis INFO command to parse.Declaration
Swift
public init(_ redisReply: RedisString)
Parameters
redisReply
A
RedisString
containing the response of the Redis INFO command to parse. -
A struct that contains a subset of the client information returned by the Redis INFO command in a parsed and more consumable fashion.
See moreDeclaration
Swift
public struct RedisInfoClient
-
A struct that contains a subset of the server information returned by the Redis INFO command in a parsed and more consumable fashion.
See moreDeclaration
Swift
public struct RedisInfoServer