https://github.com/go-helium/redis
Redis module provides you connection to Redis server
https://github.com/go-helium/redis
component golang helium module redis redis-client
Last synced: 3 months ago
JSON representation
Redis module provides you connection to Redis server
- Host: GitHub
- URL: https://github.com/go-helium/redis
- Owner: go-helium
- License: mit
- Created: 2019-02-24T20:48:48.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-22T22:13:52.000Z (almost 6 years ago)
- Last Synced: 2024-06-20T11:05:49.427Z (11 months ago)
- Topics: component, golang, helium, module, redis, redis-client
- Language: Go
- Homepage: https://github.com/im-kulikov/helium
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Redis module provides you connection to Redis server

[](https://travis-ci.com/go-helium/redis)
[](https://goreportcard.com/report/github.com/go-helium/redis)
[](https://github.com/go-helium/redis)
Module provides you connection to Redis server
- `*redis.Client` is a Redis client representing a pool of zero or more underlying connections. It's safe for concurrent use by multiple goroutineshttps://img.shields.io/circleci/project/github/go-helium/redis.svg?style=flat-squareConfiguration:
- yaml example
```yaml
redis:
address: string
password: string
db: int
max_retries: int
min_retry_backoff: duration
max_retry_backoff: duration
dial_timeout: duration
read_timeout: duration
write_timeout: duration
pool_size: int
pool_timeout: duration
idle_timeout: duration
idle_check_frequency: duration
```
- env example
```
REDIS_ADDRESS=string
REDIS_PASSWORD=string
REDIS_DB=int
REDIS_MAX_RETRIES=int
REDIS_MIN_RETRY_BACKOFF=duration
REDIS_MAX_RETRY_BACKOFF=duration
REDIS_DIAL_TIMEOUT=duration
REDIS_READ_TIMEOUT=duration
REDIS_WRITE_TIMEOUT=duration
REDIS_POOL_SIZE=int
REDIS_POOL_TIMEOUT=duration
REDIS_IDLE_TIMEOUT=duration
REDIS_IDLE_CHECK_FREQUENCY=duration
```