Swiftpack.co -  vapor/redis as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
vapor/redis
Vapor provider for RediStack
.package(url: "https://github.com/vapor/redis.git", from: "4.3.0")

Redis

Documentation Team Chat MIT License Continuous Integration Swift 5.0

This project is based off the Redis driver RediStack. For the majority of API documentation, refer to docs.redistack.info.

GitHub

link
Stars: 439
Last commit: 12 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

Add support for Vapor `Cache` protocol expiration time
15 weeks ago
This patch was authored by @madsodgaard and released by @0xTim.

Adds support for setting an expiration time when using Redis as the Vapor cache via app.caches.use(.redis). See v4.44.0 for more info.

This PR also fixes #187 by adding a function to set an expiration time when setting a key to JSON:

app.redis.setex("user", toJSON: User(name: "mads"), expirationInSeconds: 10)

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