- PING: https://redis.io/commands/ping
- GET: https://redis.io/commands/get
- SET: https://redis.io/commands/set
- STRLEN: https://redis.io/commands/strlen
- DEL: https://redis.io/commands/del
- EXISTS: https://redis.io/commands/exists
- redis-cli, the Redis command line interface`: https://redis.io/topics/rediscli
man redis-cli
: https://www.mankier.com/1/redis-cli
See "Getting input from other programs" section in https://redis.io/topics/rediscli .
You don't need to implement inline command (e.g. redis-cli redis_command
).
-h
: hostname--raw
: raw output mode (you don't need to implementno-raw
mode)
See src/README.md.
We use Docker for testing. Install Docker before testing.
$ ./scripts/build-container.sh
$ ./scripts/test.sh
$ SERVER_IMAGE=redis ./scripts/test.sh
$ SERVER_IMAGE=redis CLIENT_IMAGE=student-redis ./scripts/test.sh
$ SERVER_IMAGE=redis CLIENT_IMAGE=redis ./scripts/test.sh