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
RedisInfoinstance from the response of a Redis INFO command.Parameter
Parameter redisReply: ARedisStringcontaining the response of the Redis INFO command to parse.Declaration
Swift
public init(_ redisReply: RedisString)Parameters
redisReplyA
RedisStringcontaining 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
View on GitHub
RedisInfo Struct Reference