package
Version:
v0.0.0-...-1d13ee8
Opens a new window with list of versions in this module.
Published: Sep 22, 2024
License: MPL-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func ConnectDB(dbConfig *redis.Options) *redis.Client
ConnectDB make new database connection.
InitDB initialise redis connection settings.
func Ping(db *redis.Client) error
Ping test connection to Redis database.
type DBConfig struct {
DB *redis.Client
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.