package
0.1.1
Repository: https://github.com/rohanraj7316/middleware.git
Documentation: pkg.go.dev

# README

Redisclient

redisclient built to establish connection with redis.

Signature

func New(config ...Config) (Config, error)

Config

type Config struct {
	Redis  *redis.Options
	Client *redis.Client
	Prefix string
}

Env-variable

export REDIS_HOST
export REDIS_PORT
export REDIS_AUTH
export REDIS_PREFIX
export REDIS_MAX_RETRIES
export REDIS_POOL_SIZE

# Functions

New responsible for creating new redis client.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author