redis_dart_link 0.1.0 copy "redis_dart_link: ^0.1.0" to clipboard
redis_dart_link: ^0.1.0 copied to clipboard

A Redis SDK in Dart that encapsulates Redis commands to enhance development efficiency for data storage and management.

example/README.md

Example:

Example: #

import 'package:redis_dart_link/client.dart';
import 'package:redis_dart_link/logger.dart';
import 'package:redis_dart_link/model/info.dart';
import 'package:redis_dart_link/socket_options.dart';

RedisClient client = RedisClient(
    socket: RedisSocketOptions(
      host: '127.0.0.1',
      port: 9527,
      password: '123456',
    ),
);

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

try {
    await client.ping();
    print("ping");
} catch (error, stackTrace) {
    print("error: $error");
    print("stackTrace: $stackTrace");
}

1
likes
150
points
118
downloads

Publisher

unverified uploader

Weekly Downloads

A Redis SDK in Dart that encapsulates Redis commands to enhance development efficiency for data storage and management.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on redis_dart_link