Skip to content

ozedd-ee/redis-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redis-go

A lite version of the Redis server written in Go with support for commands from the first version of Redis.

🚀 Getting Started

If you have Go installed

Use the provided Makefile for common tasks:

📦 Build the server

make build

🟢 Start the server (foreground)

make run

🧪 Run unit tests

make test

⚙️ Run benchmarks

make bench

🐳 If you don’t have Go installed (use Docker)

📦 Build Docker image

make docker-build

🚀 Run the server container

make docker-run

🚫 Stop the container

make docker-stop

Connecting via Redis CLI

Use any Redis client (e.g., redis-cli, rdcli, or GUI tools like RedisInsight).

Install redis-cli (optional):

npm install -g redis-cli

Connect to the server:

rdcli

Once connected, you can run any supported command.


✅ Supported Commands

PING, ECHO, INFO, SET, GET, EXISTS, DEL, INCR, DECR, LPUSH, RPUSH, LRANGE

🕒 Supported Expiry Options

EX, EXAT, PX, PXAT

About

A lite version of Redis written in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published