package
0.0.0-20201214075304-6476c42643d6
Repository: https://github.com/johnson19900110/go-mysql.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
NewConn: create connection with default server settings.
NewCustomizedConn: create connection with customized server settings.
NewDefaultServer: New mysql server with default settings.
No description provided by the author
NewServer: New mysql server with customized settings.
NewServerTLSConfig: generate TLS config for server side controlling the security level by authType.
# Variables
No description provided by the author
# Structs
Conn acts like a MySQL server connection, you can use MySQL client to communicate with it.
No description provided by the author
implements a in memory credential provider.
Defines a basic MySQL server with configs.
No description provided by the author
# Interfaces
interface for user credential provider hint: can be extended for more functionality =================================IMPORTANT NOTE=============================== if the password in a third-party credential provider could be updated at runtime, we have to invalidate the caching for 'caching_sha2_password' by calling 'func (s *Server)InvalidateCache(string, string)'.
No description provided by the author
# Type aliases
No description provided by the author