initializers

package
v0.0.0-...-a878424 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

internal/initializers/connectToDb.go

internal/initializers/loadEnv.go

internal/initializers/syncDB.go

Index

Constants

This section is empty.

Variables

View Source
var RedisClient *redis.Client
View Source
var S3Client *minio.Client

Functions

func ConnectRedis

func ConnectRedis()

func ConnectS3

func ConnectS3()

func ConnectToDb

func ConnectToDb()

func LoadEnv

func LoadEnv()

func SyncDatabase

func SyncDatabase()

Types

type DBinstance

type DBinstance struct {
	Db *gorm.DB
}
var DB DBinstance

Jump to

Keyboard shortcuts

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