fredis 1.0.0 copy "fredis: ^1.0.0" to clipboard
fredis: ^1.0.0 copied to clipboard

Redis client with simplicity and performance.

example/fredis_example.dart

/*
 * Copyright (c) 2022.
 * Created by Andy Pangaribuan. All Rights Reserved.
 *
 * This product is protected by copyright and distributed under
 * licenses restricting copying, distribution and decompilation.
 */

// cSpell:disable
import 'package:fredis/fredis.dart';

void main() async {
  try {
    final redis = RedisClient(
      host: '127.0.0.1',
      port: 6379,
      password: 'password',
      clientName: 'fredis',
    );
    await redis.connect();

    await redis.send('ZADD myzset 1 "one"');
  } catch (err, stackTrace) {
    print(err);
    print(stackTrace);
  }
}
0
likes
120
pub points
0%
popularity

Publisher

unverified uploader

Redis client with simplicity and performance.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on fredis