/rediscache

Primary LanguageGoMIT LicenseMIT

Introduction to RedisCache

RedisCache is my personal Go project, which enables multiple clients to get, set, delete and update data

Setup

  1. Install Docker and Docker Desktop on your computer: Installation link

Get Started

  1. Clone the repository: git clone https://github.com/yamaceay/rediscache
  2. Change the current directory: cd rediscache
  3. Run: docker-compose up --build to build the project
  4. Starting a new client:
  5. Open a new terminal in the same directory
  6. 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