RedisCache is my personal Go project, which enables multiple clients to get, set, delete and update data
- Install Docker and Docker Desktop on your computer: Installation link
- Clone the repository:
git clone https://github.com/yamaceay/rediscache - Change the current directory:
cd rediscache - Run:
docker-compose up --buildto build the project - Starting a new client:
- Open a new terminal in the same directory
- Run
go run . -M clientto see the commands
| Name | Alias | Description | Type | Options | Default |
|---|---|---|---|---|---|
| method | X | What to do | string | "", "get", "set" | "" |
| key, value | k, v | Key-value pairs | string | - | "" |
| db | - | Which database | int | 0, 1, … | 0 |