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

This project is a Redis SDK in Dart. It encapsulates Redis operation commands, facilitating developers to implement functions like data storage and reading in Dart applications, enhancing development [...]

Redis client for Dart #

Redis protocol parser and client for Dart

Changes #

CHANGELOG.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");
}

See more examples in the test folder

References #

1
likes
0
points
118
downloads

Publisher

unverified uploader

Weekly Downloads

This project is a Redis SDK in Dart. It encapsulates Redis operation commands, facilitating developers to implement functions like data storage and reading in Dart applications, enhancing development efficiency and suitable for data storage and management in various projects.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on redis_dart_link