Redigo是Redis数据库的Go语言客户端
支持所有Redis命令的类似Print的API。 流水线操作,包括流水线事务。 发布/订阅。 连接池。 脚本助手类型,乐观地使用EVALSHA。 辅助函数用于处理命令回复。
Go 数据库工具/驱动
共7795Star
详细介绍
Redigo
Redigo is a Go client for the Redis database.
Features
- A Print-like API with support for all Redis commands.
- Pipelining, including pipelined transactions.
- Publish/Subscribe.
- Connection pooling.
- Script helper type with optimistic use of EVALSHA.
- Helper functions for working with command replies.
Documentation
Installation
Install Redigo using the "go get" command:
go get github.com/gomodule/redigo
The Go distribution is Redigo's only dependency.
Related Projects
- rafaeljusto/redigomock - A mock library for Redigo.
- chasex/redis-go-cluster - A Redis cluster client implementation.
- FZambia/sentinel - Redis Sentinel support for Redigo
- mna/redisc - Redis Cluster client built on top of Redigo
Contributing
See CONTRIBUTING.md.
License
Redigo is available under the Apache License, Version 2.0.