hummingbird-redis

1.2.0

Hummingbird integration with Redis driver RediStack
hummingbird-project/hummingbird-redis

What's New

v1.2.0

2023-07-28T17:26:04Z

Minor release changes

  • Add support for multiple Redis databases
  • RedisConnectionPoolGroup can be used separately from HBApplication

Hummingbird Redis Interface

Redis is an open source, in-memory data structure store, used as a database, cache, and message broker.

This is the Hummingbird interface to RediStack library a Swift driver for Redis.

Usage

let app = HBApplication()
try app.addRedis(configuration: .init(hostname: "localhost", port: 6379))
app.router.get("redis") { request in
    request.redis.send(command: "INFO").map {
        $0.description
    }
}
app.start()

Description

  • Swift Tools 5.5.0
View More Packages from this Author

Dependencies

Last updated: Tue Sep 19 2023 11:50:49 GMT-0900 (Hawaii-Aleutian Daylight Time)