Swift 5.8
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.
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()
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
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