utils

package
v0.0.0-...-6480b7a Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitMail

func InitMail() *gomail.Dialer

func Initialize

func Initialize(cfg *config.Config) *sql.DB

Initialize a new connection to the database

Types

type Conn

type Conn struct {
	Mysql   *sql.DB
	Redis   *redis.Client
	Elastic *elasticsearch.Client
}

Conn ...

func NewDBConn

func NewDBConn(cfg *config.Config) *Conn

NewDBConn ...

Jump to

Keyboard shortcuts

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