ezMySQL

package
v0.0.0-...-5e5fb72 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Engine

func Engine() *xorm.Engine

func InitEnv

func InitEnv(dbInfo *Info, dbModels ...interface{}) error

func Insert

func Insert(model interface{})

func StopDBQueue

func StopDBQueue()

Types

type Info

type Info struct {
	Host              string `json:"host"`
	Port              string `json:"port"`
	Account           string `json:"account"`
	PasswordBase64Str string `json:"password_base_64_str"`
	Name              string `json:"name"`
}

Jump to

Keyboard shortcuts

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