Skip to content

Latest commit

 

History

History
29 lines (26 loc) · 632 Bytes

README.md

File metadata and controls

29 lines (26 loc) · 632 Bytes

go-redis-clone

About

A simple to run basic implementation of a Redis server - this is just for a bit of fun but the intention is that most/all of the Redis commands are supported eventually.

Running

  1. Make sure you have Go installed
  2. Pull the github repo
  3. Run go run . - this will start the redis server on localhost:6379

Supported Commands

Currently supported Redis Commands

  • SET
  • GET
  • EXISTS
  • DEL
  • COPY
  • LPUSH
  • LPUSHX
  • LPOP (Only first item for now)
  • PERSIST
  • EXPIRE
  • EXPIREAT
  • PEXPIRE
  • PEXPIREAT
  • EXPIRETIME
  • SUBSCRIBE (single channel only)
  • PUBLISH
  • UNSUBSCRIBE (channel must be specified)