Swiftpack.co -  hummingbird-project/hummingbird-redis as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
hummingbird-project/hummingbird-redis
Hummingbird integration with Redis driver RediStack
.package(url: "https://github.com/hummingbird-project/hummingbird-redis.git", from: "0.4.2")

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

GitHub

link
Stars: 1
Last commit: 4 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

v0.4.2
4 weeks ago
  • Conform to expectations of persist framework. Where create throws a duplicate error if the key already exists.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API