Skip to content

GarrickHe/go-redis-clone

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%