service

package
v0.3.0-beta Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectDB

func ConnectDB(conf *app.Conf) *gorm.DB

Connect to sql database

func ConnectElastic

func ConnectElastic(conf *app.Conf) *elasticsearch.Client

func ConnectMongo

func ConnectMongo(conf *app.Conf) *mongo.Database

Connect to MongoDB

func ConnectRedis

func ConnectRedis(conf *app.Conf) *redis.Client

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