# Packages
No description provided by the author
# Functions
DefaultSessionBuilder is a SessionBuilder that returns a base session.
NewDefaultServer creates a Server with the default session builder.
NewHandler creates a new Handler given a SQLe engine.
NewListener creates a new Listener.
NewServer creates a server with the given protocol, address, authentication details given a SQLe engine and a session builder.
NewSessionManager creates a SessionManager with the given SessionBuilder.
NewValidatingServer creates a Server that validates its query results using a MySQL connection as a source of golden-value query result sets.
# Constants
No description provided by the author
No description provided by the author
# Variables
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.
No description provided by the author
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
# Type aliases
DoneFunc is a function that must be executed when the session is used and it can be disposed.
No description provided by the author
SessionBuilder creates sessions given a MySQL connection and a server address.