https://github.com/gomodule/redigo
Go client for Redis
https://github.com/gomodule/redigo
go redis
Last synced: 3 months ago
JSON representation
Go client for Redis
- Host: GitHub
- URL: https://github.com/gomodule/redigo
- Owner: gomodule
- License: apache-2.0
- Created: 2012-04-14T04:31:58.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2025-03-15T23:28:33.000Z (9 months ago)
- Last Synced: 2025-05-12T18:14:52.102Z (7 months ago)
- Topics: go, redis
- Language: Go
- Homepage:
- Size: 574 KB
- Stars: 9,816
- Watchers: 277
- Forks: 1,246
- Open Issues: 23
-
Metadata Files:
- Readme: README.markdown
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-go - redigo - Redigo is a Go client for the Redis database. (Database Drivers / NoSQL Database Drivers)
- go-awesome - redigo - Redis 客户端 (开源类库 / 数据库)
- awesome-go-storage - redigo - Redigo is a Go client for the Redis database. (Database Drivers)
- awesome-go-cn - redigo
- go-awesome - redigo - Redis client (Open source library / Database)
- awesome-list - Redigo - Go client for Redis. (Data Management & Processing / Database & Cloud Management)
- awesome-go - redigo - Go client for Redis - ★ 5145 (Database Drivers)
- awesome-go-plus - redigo - Redigo is a Go client for the Redis database.  (Database Drivers / NoSQL Database Drivers)
- awesome-go-storage - redigo - Redigo is a Go client for the Redis database. (Database Drivers)
- awesome-go - redigo - Redigo is a Go client for the Redis database. (Database Drivers / NoSQL Database Drivers)
- awesome-go - redigo - | - | - | (Database Drivers / Advanced Console UIs)
- awesome-go - redigo - Redigo is a Go client for the Redis database. (Database Drivers / NoSQL Database Drivers)
- awesome-go - redigo - Redigo is a Go client for the Redis database. Stars:`9.8K`. (Database Drivers / NoSQL Database Drivers)
- awesome-golang-repositories - redigo
- awesome-go - redigo - Redigo is a Go client for the Redis database. (Database Drivers / Advanced Console UIs)
- awesome-go - gomodule/redigo
- awesome-go-with-stars - redigo - Redigo is a Go client for the Redis database. (Database Drivers / NoSQL Database Drivers)
- fucking-awesome-go - redigo - Redigo is a Go client for the Redis database. (Database Drivers / NoSQL Database Drivers)
- awesome-go-cn - redigo
- awesome-go - redigo - Redigo is a Go client for the Redis database. (Database Drivers / Advanced Console UIs)
- awesome-redis - Redigo - Redigo is a Go client for the Redis database with support for Print-alike API, Pipelining (including transactions), Pub/Sub, Connection pooling, scripting (Go / C++)
- awesome-go - redigo - Redigo is a Go client for the Redis database. (Database Drivers / NoSQL Database Drivers)
- awesome-go-extra - redigo - 04-14T04:31:58Z|2022-07-26T02:37:30Z| (Generators / NoSQL Database Drivers)
- awesome-go-cn - redigo
- awesome-go - redigo - Redigo is a Go client for the Redis database. (Database Drivers / NoSQL Database Drivers)
- awesome-Char - redigo - Redigo is a Go client for the Redis database. (Database Drivers / Advanced Console UIs)
- awesome-go-cn - redigo
README
Redigo
======
[](https://pkg.go.dev/github.com/gomodule/redigo/redis)
Redigo is a [Go](http://golang.org/) client for the [Redis](http://redis.io/) / [Valkey](https://github.com/valkey-io/valkey) database.
Features
-------
* A [Print-like](https://pkg.go.dev/github.com/gomodule/redigo/redis#hdr-Executing_Commands) API with support for all Redis commands.
* [Pipelining](https://pkg.go.dev/github.com/gomodule/redigo/redis#hdr-Pipelining), including pipelined transactions.
* [Publish/Subscribe](https://pkg.go.dev/github.com/gomodule/redigo/redis#hdr-Publish_and_Subscribe).
* [Connection pooling](https://pkg.go.dev/github.com/gomodule/redigo/redis#Pool).
* [Script helper type](https://pkg.go.dev/github.com/gomodule/redigo/redis#Script) with optimistic use of EVALSHA.
* [Helper functions](https://pkg.go.dev/github.com/gomodule/redigo/redis#hdr-Reply_Helpers) for working with command replies.
Documentation
-------------
- [API Reference](https://pkg.go.dev/github.com/gomodule/redigo/redis)
- [FAQ](https://github.com/gomodule/redigo/wiki/FAQ)
- [Examples](https://pkg.go.dev/github.com/gomodule/redigo/redis#pkg-examples)
Installation
------------
Install Redigo using the "go get" command:
go get github.com/gomodule/redigo/redis
The Go distribution is Redigo's only dependency.
Related Projects
----------------
- [rafaeljusto/redigomock](https://pkg.go.dev/github.com/rafaeljusto/redigomock) - A mock library for Redigo.
- [chasex/redis-go-cluster](https://github.com/chasex/redis-go-cluster) - A Redis cluster client implementation.
- [FZambia/sentinel](https://github.com/FZambia/sentinel) - Redis Sentinel support for Redigo
- [mna/redisc](https://github.com/mna/redisc) - Redis Cluster client built on top of Redigo
- [Alibaba/opentelemetry-go-auto-instrumentation](https://github.com/alibaba/opentelemetry-go-auto-instrumentation) - Get trace and metrics in OpenTelemetry format generated by the Redigo framework without changing any code
Contributing
------------
See [CONTRIBUTING.md](https://github.com/gomodule/redigo/blob/master/.github/CONTRIBUTING.md).
License
-------
Redigo is available under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html).