A simple Redis server clone written in Golang.
You can use redis-cli to connect to metis server. Supported commands are listed in command table.
Key Features:
- Support datastructures: string, list, hash, set, sorted set
- Multi databases and
SELECT
command - TTL for keys, support
EXPIRE
andTTL
commands - Auth by password, support
AUTH
command - AOF persistence and rewrite, support rewrite manually by
BGREWRITEAOF
command
# cat config.toml
go run main.go