db

package
v0.0.0-...-1ef4309 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RedisClient *_redis.Client

RedisClient ...

Functions

func ConnectDB

func ConnectDB() (*gorp.DbMap, error)

ConnectDB ...

func GetDB

func GetDB() *gorp.DbMap

GetDB ...

func GetRedis

func GetRedis() *_redis.Client

GetRedis ...

func Init

func Init()

Init ...

func InitRedis

func InitRedis(params ...string)

InitRedis ...

Types

type DB

type DB struct {
	*sql.DB
}

DB ...

Jump to

Keyboard shortcuts

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