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

A high performance Redis cluster key slot calculator.

Redis Key Slot Calculator #

A high performance Redis cluster key slot calculator.

This also handles key tags such as somekey{actualTag}.

Usage #

import 'package:dart_redis_cluster_key_slot/dart_redis_cluster_key_slot.dart';

void main() {
  // Get a slot number.
  print(generate('foobar')); // 12325

  // With tagging support (tags between '{}').
  print(generate('abc{foobar}')); // 12325
}

Built and maintained by Invertase.

0
likes
130
pub points
8%
popularity

Publisher

verified publisherinvertase.io

A high performance Redis cluster key slot calculator.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

More

Packages that depend on dart_redis_cluster_key_slot