service

package
v1.0.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectDB

func ConnectDB() *gorm.DB

ConnectDB to sql database

func ConnectElastic

func ConnectElastic() *elasticsearch.Client

ConnectElastic returns an ElasticSearch client

func ConnectMongo

func ConnectMongo() *mongo.Database

ConnectMongo returns a connection to MongoDB

func ConnectRedis

func ConnectRedis() *redis.Client

ConnectRedis connect to Redis

Types

This section is empty.

Jump to

Keyboard shortcuts

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