datasource

package
v0.0.0-...-9dec8c7 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstanceDbMaster

func InstanceDbMaster() *xorm.Engine

func NewDbMaster

func NewDbMaster() *xorm.Engine

Types

type RedisConn

type RedisConn struct {
	// contains filtered or unexported fields
}

func InstanceCache

func InstanceCache() *RedisConn

func NewCache

func NewCache() *RedisConn

func (*RedisConn) Do

func (rds *RedisConn) Do(commandName string,
	args ...interface{}) (reply interface{}, err error)

func (*RedisConn) ShowDebug

func (rds *RedisConn) ShowDebug(b bool)

Jump to

Keyboard shortcuts

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