redis-protocol-example:用 Go 来了解一下 Redis 通讯协议

时间:2021-05-15 00:38:58
【文件属性】:
文件名称:redis-protocol-example:用 Go 来了解一下 Redis 通讯协议
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-15 00:38:58
go redis golang protocol Go redis-protocol-example 用 Go 来了解一下 Redis 通讯协议,本项目支持 Redis 的五种通讯协议,如下: 状态回复(status reply) 错误回复(error reply) 整数回复(integer reply) 批量回复(bulk reply) 多条批量回复(multi bulk reply) 安装 $ go get github.com/EDDYCJY/redis-protocol-example 使用 Status Reply $ go run main.go SET test01 value01 2018/06/06 21:29:07 Reply: OK 2018/06/06 21:29:07 Command: +OK Error Reply $ go run main.go error 2018/06/06 22:20:39 Reply: E
【文件预览】:
redis-protocol-example-master
----protocol()
--------reply.go(2KB)
--------request.go(317B)
----LICENSE(1KB)
----main.go(986B)
----.gitignore(319B)
----README.md(1KB)

网友评论