database

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PostgreSQL = "postgresql"
	MySQL      = "mysql"
	MSSQL      = "mssql"
)

Variables

This section is empty.

Functions

func GetElasticsearchClient

func GetElasticsearchClient() *elasticsearch.Client

func GetMongoClient

func GetMongoClient() *mongo.Client

func GetRedisClient

func GetRedisClient(id string) *redis.Client

func GetSqlClient

func GetSqlClient(id string) *gorm.DB

func Init

func Init(ctx context.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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