Examples for Crystal-Redis
These examples are meant to help you get you started with the Crystal Redis client.
You need to install the crystal-redis client into this project:
$ shards install
Running the Examples
All examples are in the src/ directory.
Read the source code of an example that you are interested in. It is best to start with src/basic.cr.
Then run the example. For instance, to run
crystal run in the terminal:
$ crystal run src/basic.cr
- over 2 years ago
- May 15, 2015
Tue, 26 May 2020 20:58:43 GMT