Swiftpack.co - Package - reswifq/redis-client-kitura


Swift Build Status Code Coverage

Adapter to use IBM-Swift/Kitura-redis with Reswifq.

🏁 Getting Started

Import KituraRedisClient 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-kitura", .upToNextMajor(from: "1.3.0"))
    targets: [
      .target(name: "YourProject", dependencies: ["KituraRedisClient"])

Note: This will also import some IBM-Swift/Kitura-redis related packages into your project.

Create a client and a queue:

let client = Redis()

client.connect(host: "localhost", port: 6379) { _ in }

let queue = Reswifq(client: client)

For more information on how to use Reswifq and the IBM-Swift/Kitura-redis's 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.


Stars: 0
Help us keep the lights on