# Functions
No description provided by the author
Creates a new composite RequestHandler combining many child handlers together.
NewCqlClient Creates a new CqlClient with default options.
NewCqlServer creates a new CqlServer with default options.
A RequestHandler to fully initialize a connection initiated by a DataStax driver.
No description provided by the author
A RequestHandler to handle PREPARE and EXECUTE requests for the given query string, effectively emulating the behavior of a statement being prepared, then executed.
A RequestHandler to handle USE queries.
Creates a new RequestHandler to handle queries to system tables (system.local and system.peers).
PerformHandshake performs a handshake between the given client and server connections, using the provided protocol version.
# Constants
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
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
No description provided by the author
# Variables
HandshakeHandler is a RequestHandler to handle server-side handshakes.
A RequestHandler to handle server-side heartbeats.
A RequestHandler to handle USE requests.
# Structs
AuthCredentials encapsulates a username and a password to use with plain-text authenticators.
CqlClient is a client for Cassandra-compatible backends.
CqlClientConnection encapsulates a TCP client connection to a remote Cassandra-compatible backend.
CqlServer is a minimalistic server stub that can be used to mimic CQL-compatible backends.
CqlServerConnection encapsulates a TCP server connection to a remote CQL client.
A simple authenticator to perform plain-text authentications for CQL clients.
# Interfaces
InFlightRequest is an in-flight request sent through CqlClientConnection.Send.
RequestHandlerContext is the RequestHandler invocation context.
# Type aliases
EventHandler An event handler is a callback function that gets invoked whenever a CqlClientConnection receives an incoming event.
RawRequestHandler is similar to RequestHandler but returns an already encoded response in byte slice format, this can be used to return responses that the embedded codecs can't encode.
RequestHandler is a callback function that gets invoked whenever a CqlServerConnection receives an incoming frame.