testing

package
v0.0.0-...-0451d2a Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MongoDockerContainer

type MongoDockerContainer struct {
	// contains filtered or unexported fields
}

func NewMongoContainer

func NewMongoContainer() *MongoDockerContainer

func (MongoDockerContainer) DatabaseName

func (dc MongoDockerContainer) DatabaseName() string

func (MongoDockerContainer) Purge

func (dc MongoDockerContainer) Purge()

func (*MongoDockerContainer) Start

func (dc *MongoDockerContainer) Start(ctx context.Context, database string) (*mongodb.Database, error)

func (MongoDockerContainer) URI

func (dc MongoDockerContainer) URI() string

Jump to

Keyboard shortcuts

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