Introduction to RedisCache
RedisCache is my personal Go project, which enables multiple clients to get, set, delete and update data
Setup
- Install Docker and Docker Desktop on your computer: Installation link
Get Started
- Clone the repository:
git clone https://github.com/yamaceay/rediscache
- Change the current directory:
cd rediscache
- Run:
docker-compose up --build
to build the project - Starting a new client:
- Open a new terminal in the same directory
- Run
go run . -M client
to see the commands
CLI Arguments
Client Mode
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 |