Documentation ¶ Index ¶ func DockerClient() (client *mongo.Client, cleanup func() error, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DockerClient ¶ func DockerClient() (client *mongo.Client, cleanup func() error, err error) DockerClient creates a MongoDB server via TestContainers. A client connected to the server and a cleanup function are returned. The cleanup function will close the client and shut down the server. Types ¶ This section is empty. Source Files ¶ View all Source files testclient.go Click to show internal directories. Click to hide internal directories.