mongodbtestutil

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartMongoDB

func StartMongoDB(t *testing.T) (connection string, stop func())

StartMongoDB starts a MongoDB Docker container. The connection string is returned, as well as a function that should be invoked to stop the Docker container when it is no longer required.

Types

This section is empty.

Jump to

Keyboard shortcuts

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