mysql

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2021 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(w http.ResponseWriter, r *http.Request)

func Exec

func Exec(w http.ResponseWriter, r *http.Request)

func ExecFile

func ExecFile(w http.ResponseWriter, r *http.Request)

func Init

func Init(w http.ResponseWriter, r *http.Request)

Types

type Request

type Request struct {
	Sqls      []string `json:"sqls"`
	Host      string   `json:"host"`
	Url       string   `json:"url"`
	User      string   `json:"user"`
	Password  string   `json:"password"`
	OssUrl    string   `json:"ossUrl"`
	CreateDbs []string `json:"createDbs"`
}

func (Request) Addr

func (r Request) Addr() (string, string)

func (Request) DSN

func (r Request) DSN() string

func (Request) Exec

func (r Request) Exec(q string) error

Jump to

Keyboard shortcuts

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