Last updated:
0 purchases
shorebird redis client
🐦 Shorebird Redis Client #
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();
}
copied to clipboard
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:
Apache License, Version 2.0
MIT license
See our license philosophy for more information on why we license files this way.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.