Skip to content

Releases: go-helium/redis

☕️ Prepare new release v0.3.0

22 May 22:13
eb44a64
Compare
Choose a tag to compare
  • Add more options + TLSConfig parse from redis.options
  • Move to UniversalClient (interface, be careful)
  • Update to Helium v0.11.11

Update to helium v0.10.1

24 Feb 22:46
77472e2
Compare
Choose a tag to compare
v0.2.0

Update to Helium v0.10.1

Initialize

24 Feb 21:10
3457203
Compare
Choose a tag to compare

Redis module provides you connection to Redis server

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 goroutines

Configuration:

  • yaml example
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