Versions in this module Expand all Collapse all v11 v11.3.3 Dec 13, 2022 Changes in this version + func MakeTestClient(_ context.Context, config common.TestClientConfig, opts ...ClientOptions) (*sql.DB, error) + type ClientOptions func(*ClientOptionsParams) + type ClientOptionsParams struct + type Engine struct + HTTPClient *http.Client + func (e *Engine) HandleConnection(ctx context.Context, sessionCtx *common.Session) error + func (e *Engine) InitializeConnection(clientConn net.Conn, sessionCtx *common.Session) error + func (e *Engine) SendError(err error) + type TestServer struct + func NewTestServer(config common.TestServerConfig, opts ...TestServerOption) (*TestServer, error) + func (s *TestServer) Close() error + func (s *TestServer) Port() string + func (s *TestServer) Serve() error + type TestServerOption func(*TestServer) + func TestForceTokenRefresh() TestServerOption