mysql

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDatasource

func InitDatasource(f func(config DataSource, db *sql.DB))

func InitGormDatasource

func InitGormDatasource()

Types

type DataSource added in v1.0.3

type DataSource struct {
	Type     string `yaml:"type"`
	URL      string `yaml:"url"`
	Database string `yaml:"database"`
	Tag      string `yaml:"tag"`
	Username string `yaml:"username"`
	Password string `yaml:"password"`
	UseSSH   bool   `yaml:"use_ssh"`
}

Jump to

Keyboard shortcuts

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