config

package
v0.0.0-...-a949f40 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// MySQLSource : 要连接的数据库源;
	// 其中test:test 是用户名密码;
	// 127.0.0.1:3306 是ip及端口;
	// fileserver 是数据库名;
	// charset=utf8 指定了数据以utf8字符编码进行传输
	MySQLSource = "test:test@tcp(127.0.0.1:3306)/fileserver?charset=utf8"
)

Functions

func UpdateDBHost

func UpdateDBHost(host string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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