Versions in this module Expand all Collapse all v11 v11.3.3 Dec 13, 2022 Changes in this version + func MakeTestClient(ctx context.Context, config common.TestClientConfig, ...) (*mongo.Client, error) + type Engine struct + func (e *Engine) HandleConnection(ctx context.Context, sessionCtx *common.Session) error + func (e *Engine) InitializeConnection(clientConn net.Conn, _ *common.Session) error + func (e *Engine) SendError(err error) + type TestServer struct + func NewTestServer(config common.TestServerConfig, opts ...TestServerOption) (svr *TestServer, err error) + func (s *TestServer) Close() error + func (s *TestServer) GetActiveConnectionsCount() int32 + func (s *TestServer) Port() string + func (s *TestServer) Serve() error + type TestServerOption func(*TestServer) + func TestServerWireVersion(wireVersion int) TestServerOption