mongodbtest

package
v0.1.32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL