package
0.0.0-20230511235354-d30ddaf91144
Repository: https://github.com/masteryconnect/go-mysql.git
Documentation: pkg.go.dev
# Functions
Connect to a MySQL server, addr can be ip:port, or a unix socket domain like /var/sock.
Connect to a MySQL server using the given Dialer.
NewClientTLSConfig: generate TLS config for client side if insecureSkipVerify is set to true, serverName will not be validated.
NewPool initializes new connection pool and uses params: addr, user, password, dbName and options.
# Variables
DefaultIdleTimeout - If the connection has been idle for more than this time, we can close it (but we should remember about Pool.minAlive).
MaxIdleTimeoutWithoutPing - If the connection has been idle for more than this time, then ping will be performed before use to check if it alive.
MaxNewConnectionAtOnce - If we need to create new connections, then we will create no more than this number of connections at a time.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
Dialer connects to the address on the named network using the provided context.
This function will be called once per result from ExecuteMultiple.
No description provided by the author
This function will be called once per result from ExecuteSelectStreaming.
This function will be called for every row in resultset from ExecuteSelectStreaming.
No description provided by the author