shorebird_redis_client 0.0.3 copy "shorebird_redis_client: ^0.0.3" to clipboard
shorebird_redis_client: ^0.0.3 copied to clipboard

A lightweight Dart client library for communicating with a Redis server. Built by Shorebird.

🐦 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.

11
likes
160
pub points
72%
popularity

Publisher

verified publishershorebird.dev

A lightweight Dart client library for communicating with a Redis server. Built by Shorebird.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#redis #cache #shorebird

Documentation

API reference

License

MIT (license)

Dependencies

resp_client

More

Packages that depend on shorebird_redis_client