mongodb

package module
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: MIT Imports: 3 Imported by: 38

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MongoDBContainer

type MongoDBContainer struct {
	testcontainers.Container
}

MongoDBContainer represents the MongoDB container type used in the module

func RunContainer

RunContainer creates an instance of the MongoDB container type

func (*MongoDBContainer) ConnectionString

func (c *MongoDBContainer) ConnectionString(ctx context.Context) (string, error)

ConnectionString returns the connection string for the MongoDB container

Jump to

Keyboard shortcuts

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