database

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMySQLClient

func NewMySQLClient(source string) *sql.DB

NewMySQLClient function return database tenant connection

Types

type MySQLClient

type MySQLClient struct {
	*sql.DB
}

MySQLClient model struct to instance

func (*MySQLClient) ViewStats

func (c *MySQLClient) ViewStats() sql.DBStats

ViewStats return sql.DBStats data

Jump to

Keyboard shortcuts

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