VaporRedisClient

master

Adapter to use vapor/redis with reswifq.
reswifq/redis-client-vapor

VaporRedisClient

Swift Build Status Code Coverage

Adapter to use vapor/redis with Reswifq.

🏁 Getting Started

Import VaporRedisClient into your project using Swift Package Manager:

import PackageDescription

let package = Package(
    name: "YourProject",
    products: [
      .executable(name: "YourProject", targets: ["YourProject"])
    ],
    dependencies: [
        .package(url: "https://github.com/reswifq/redis-client-vapor", .upToNextMajor(from: "1.2.0"))
    ],
    targets: [
      .target(name: "YourProject", dependencies: ["VaporRedisClient"])
    ]
)

Note: This will also import some vapor/redis related packages into your project.

Create a client and a queue:

import Redis
import Reswifq
import VaporRedisClient

let client = VaporRedisClient(try TCPClient(hostname: "127.0.0.1", port: 6379))

let queue = Reswifq(client: client)

For more information on how to use Reswifq and the vapor/redis' client, please refer to the related documentation.

🔧 Compatibility

This package has been tested on macOS and Ubuntu.

📖 License

Created by Valerio Mazzeo.

Copyright © 2017 VMLabs Limited. All rights reserved.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the GNU Lesser General Public License for more details.

Description

  • Swift Tools 4.0.0
View More Packages from this Author

Dependencies

Last updated: Sat Apr 13 2024 06:38:03 GMT-0900 (Hawaii-Aleutian Daylight Time)