gvalue

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2019 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AccessLogWriter golog.IWriter
View Source
var MongoClientPool *mongo.Pool
View Source
var MongoLogWriter golog.IWriter
View Source
var MysqlClientPool *mysql.Pool
View Source
var RedisClientPool *redis.Pool

Functions

func FreeLog

func FreeLog()

func InitLog

func InitLog(systemName string) *exception.Exception

func InitMongo

func InitMongo()

func InitMysql

func InitMysql()

func InitRedis

func InitRedis()

func NewAsyncLogger

func NewAsyncLogger(w golog.IWriter, formater golog.IFormater) golog.ILogger

func NewMongoClient

func NewMongoClient() (*mongo.Client, error)

func NewMysqlClient

func NewMysqlClient() (*mysql.Client, error)

func NewRedisClient

func NewRedisClient() (*redis.Client, error)

func NewSyncLogger

func NewSyncLogger(w golog.IWriter, formater golog.IFormater) golog.ILogger

Types

This section is empty.

Jump to

Keyboard shortcuts

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