mongo

package
v0.1.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerOptions

type ContainerOptions struct {
	tc.ContainerOptions
	User     string
	Password string
}

ContainerOptions ...

type DBConfig

type DBConfig struct {
	tc.ContainerConfig
	Host     string
	Port     uint
	User     string
	Password string
}

DBConfig ...

func StartMongoContainer

func StartMongoContainer(options ContainerOptions) (mongoC testcontainers.Container, Config DBConfig, err error)

StartMongoContainer ...

func (DBConfig) ConnectionURI

func (c DBConfig) ConnectionURI() string

ConnectionURI ...

Jump to

Keyboard shortcuts

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