utils

package
v0.0.0-...-c16945a Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig(namespace string) map[interface{}]interface{}

GetConfig get config in lottery_conf.yaml

func GetMongoDB

func GetMongoDB() *qmgo.Database

GetMongoDB return a qmgo client

func GetMysql

func GetMysql() *gorm.DB

GetDB : return databast instance

func GetRedis

func GetRedis() *redis.Client

GetDB : return databast instance

Types

This section is empty.

Jump to

Keyboard shortcuts

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