- 1.2.0 and master22.214.171.124.04.2
- 1.2.0 and masteriOSmacOS(Intel)macOS(ARM)LinuxtvOSwatchOS
Adapter to use vapor/redis with reswifq.
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.
import Redis import Reswifq import VaporRedisClient let client = VaporRedisClient(try TCPClient(hostname: "127.0.0.1", port: 6379)) let queue = Reswifq(client: client)
This package has been tested on macOS and Ubuntu.
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.