Versions in this module Expand all Collapse all v11 v11.3.3 Dec 13, 2022 Changes in this version + var TestQueryResponse = &pgconn.Result + func MakeTestClient(ctx context.Context, config common.TestClientConfig) (*pgconn.PgConn, error) + type Engine struct + 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 Proxy struct + Limiter *limiter.Limiter + Log logrus.FieldLogger + Middleware *auth.Middleware + Service common.Service + TLSConfig *tls.Config + func (p *Proxy) HandleConnection(ctx context.Context, clientConn net.Conn) (err error) + type TestServer struct + func NewTestServer(config common.TestServerConfig) (svr *TestServer, err error) + func (s *TestServer) Close() error + func (s *TestServer) ParametersCh() chan map[string]string + func (s *TestServer) Port() string + func (s *TestServer) QueryCount() uint32 + func (s *TestServer) Serve() error