redis go语言实现
运行:
# docker运行:
# docker run dicedb/dice-server
# 源码运行
git clone https://github.com/dicedb/dice
cd dice
go run main.go
dice-server 监听 7379 端口,
dice
SET mykey "Hello, World!"
SET match:100:user:1 15
GET mykey
JSON.SET key path value
SELECT $key, $value FROM 'key_pattern'
WHERE condition
ORDER BY field [ASC | DESC] LIMIT n
python sdk:
pip install dicedb-cli