Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 508 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 508 Bytes

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 = Application()
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()