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 ¶
func NewProxy ¶
func NewProxy(server, addr string) *ProxyMysql
Click to show internal directories.
Click to hide internal directories.