# Packages
No description provided by the author
# Functions
No description provided by the author
NewListener creates a new Listener.
NewServer creates a server with the given protocol, address, authentication details given a SQLe engine and a session builder.
NewServerWithHandler creates a Server with a handler wrapped by the provided wrapper function.
NewSessionManager creates a SessionManager with the given SessionBuilder.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
# Variables
DefaultProtocolListenerFunc is the protocol listener, which defaults to Vitess' protocol listener.
ErrConnectionWasClosed will be returned if we try to use a previously closed connection.
ErrRowTimeout will be returned if the wait for the row is longer than the connection timeout.
QueryCounter describes a metric that accumulates number of queries monotonically.
QueryErrorCounter describes a metric that accumulates number of failed queries monotonically.
QueryHistogram describes a queries latency.
No description provided by the author
# Structs
Config for the mysql server.
Handler is a connection handler for a SQLe engine, implementing the Vitess mysql.Handler interface.
Listener implements a single listener with two net.Listener, one for TCP socket and another for unix socket connections.
Server is a MySQL server for SQLe engines.
SessionManager is in charge of creating new sessions for the given connections and keep track of which sessions are in each connection, so they can be cancelled if the connection is closed.
# Interfaces
No description provided by the author
No description provided by the author
ProtocolListener handles connections based on the configuration it was given.
No description provided by the author
# Type aliases
DoneFunc is a function that must be executed when the session is used and it can be disposed.
HandlerWrapper provides a way for clients to wrap the mysql.Handler used by the server with a custom implementation that wraps it.
No description provided by the author
Option is an option to customize server.
ProtocolListenerFunc returns a ProtocolListener based on the configuration it was given.
QueryExecutor is a function that executes a query and returns the result as a schema and iterator.
SessionBuilder creates sessions given a MySQL connection and a server address.