proxymysql

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package proxymysql Mysql TCP-based fault injection

Index

Constants

This section is empty.

Variables

View Source
var (
	Nil            = mysql.NewSQLError(mysql.ERUnknownError, mysql.SSUnknownSQLState, "nil")
	ServerShutdown = mysql.NewSQLError(mysql.ERUnknownError, mysql.SSUnknownSQLState, "Server shutdown in progress")
	ERUnknownError = mysql.NewSQLError(mysql.ERUnknownError, mysql.SSUnknownSQLState, "unknown error")

	ERNoSuchTable    = mysql.NewSQLError(mysql.ERNoSuchTable, mysql.SSUnknownSQLState, "table not found")
	ERDbCreateExists = mysql.NewSQLError(mysql.ERDbCreateExists, mysql.SSUnknownSQLState, "can't create database; database exists")
	ERSubqueryNo1Row = mysql.NewSQLError(mysql.ERSubqueryNo1Row, mysql.SSUnknownSQLState, "the subquery returned more than 1 row")
)

mysql chaos error

Functions

This section is empty.

Types

type ProxyMysql

type ProxyMysql struct {
	*proxy.Proxy
}

func NewProxy

func NewProxy(server, addr string) *ProxyMysql

Jump to

Keyboard shortcuts

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