mysql

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: AGPL-3.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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