Documentation
¶
Overview ¶
Package redis contains shared functionality related to Redis
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicInterface ¶
type BasicInterface interface {
HealthCheck() error
}
BasicInterface represents an interface for shared Redis-related functions, which will be extended.
func NewRedisClient ¶
func NewRedisClient( address string, databaseIndex int, password string, timeoutSeconds int, ) (BasicInterface, error)
NewRedisClient creates a new Redis client based on configuration and returns RedisInterface
Click to show internal directories.
Click to hide internal directories.