A simple Redis clone written in Go.
- Run as a master:
go run app/server.go
- Run as a replica:
go run app/server.go --port 6380 --replicaof "localhost 6379"
- SET
- GET
- INCR
- MULTI
- EXEC
- DISCARD
- KEYS
- TYPE
- CONFIG
- PING
- HELLO
- INFO
- CLIENT
- XADD
- XRANGE
- XREAD
Partially support for single leader replication. The following commands are supported:
- SAVE
- PSYNC
- REPLCONF
- WAIT