🐦 Shorebird Redis Client

Discord

pub package ci codecov License: MIT

A Dart library for interacting with a Redis server.

Built with 💙 by Shorebird.

Quick Start 🚀

import 'package:shorebird_redis_client/shorebird_redis_client.dart';

Future<void> main() async {
  // Create an instance of a RedisClient.
  final client = RedisClient();

  // Connect to the Redis server.
  await client.connect();

  // Set the value of a key.
  await client.set(key: 'HELLO', value: 'WORLD');

  // Get the value of a key.
  final value = await client.get(key: 'HELLO'); // WORLD

  // Delete the key.
  await client.delete(key: 'HELLO');

  // Close the connection to the Redis server.
  await client.close();
}

Join us on Discord! 💬

We have an active Discord server where you can ask questions and get help.

Contributing 🤝

See CONTRIBUTING.md.

License 📃

Shorebird packages are licensed for use under either of the following at your option:

See our license philosophy for more information on why we license files this way.