Skip to content

maik-kluwe/redis-dart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redis client for Dart

See example directory for examples and usage

Roadmap

  • Command abstractions in RedisClient (like client.set('key',...) or client.get('key'...))
  • Pub / Sub stream subscriptions
  • SSL for Secure connections

Usage

final client = await RedisClient.connect(
  ost: 'localhost',
  port: 6379,
);

Send client commands

// Send simple string values
final result = client.sendCommand(['SET', 'key1', 'value1']);
print(result); // prints: 'OK'

// Send simple integer
final result = client.sendCommand(['SET', 'key2', 1]);
print(result); // prints: 'OK'

// Increment value
final result = client.sendCommand(['INCR', 'key2']);
print(result); // prints: '2'

About

Redis client for Dart

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages