common

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitCloudwave

func InitCloudwave() (i *sql.DB, err error)

* * @Author junfenghe * @Description 获取数据库连接 * @Date 2021-10-22 19:03 * @Param * @return *

func InitCloudwaveFull added in v0.0.4

func InitCloudwaveFull(interfaceReqInitCloudwaveFull interface{}) (i *sql.DB, err error)

func InitMysql

func InitMysql() (i *sql.DB, err error)

Types

type CloudConfigConn

type CloudConfigConn struct {
	User     string `json:"user"`
	Password string `json:"password"`
	Host     string `json:"host"`
	Port     string `json:"port"`
}

type ReqInitCloudwaveFull added in v0.0.4

type ReqInitCloudwaveFull struct {
	Schema string `json:"schema"`
}

* * @Author junfenghe * @Description 获取数据库连接 * @Date 2021-10-22 19:03 * @Param * @return *

Jump to

Keyboard shortcuts

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