common

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 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

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

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