database

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUser

func AddUser(client *redis.Client, logger *zap.Logger, verbose bool)

AddUser set key to redis client with specific data

func FlushDatabase

func FlushDatabase(client *redis.Client)

FlushDatabase : Delete all data in the redis database

func NewRedisClient

func NewRedisClient(cfg configuration.RedisConfig) *redis.Client

NewRedisClient Create redis client connection with host (endpoint and port)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL