0 purchases
dart redis cluster key slot
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
}
copied to clipboard
Built and maintained by Invertase.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.