db

package
v0.0.0-...-637fc73 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectMongo

func ConnectMongo(sec string) (*mgo.Session, error)

Auth:2021-03-30 22:29:32 周二 cole-cai Desc:连接mongo

func ConnectMySQL

func ConnectMySQL(sec string) (*gorm.DB, error)

Auth:2021-03-30 22:32:05 周二 cole-cai Desc:连接mySQL

func ConnectRedis

func ConnectRedis(sec string) (*redis.Pool, error)

Auth:2021-03-30 22:25:14 周二 cole-cai Desc:连接redis

Types

This section is empty.

Jump to

Keyboard shortcuts

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