dart_redis_cluster_key_slot 0.1.0 icon indicating copy to clipboard operation
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
24%
popularity

Publisher

verified publisher iconinvertase.io

A high performance Redis cluster key slot calculator.

Documentation

API reference

License

Icon for licenses.Apache-2.0 (LICENSE)

More

Packages that depend on dart_redis_cluster_key_slot