mongodb

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DBName        = "eventstore"
	CollSnapshots = "snapshots"
	CollEvents    = "events"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DBConfig added in v0.11.0

type DBConfig struct {
	Database string
	Host     string
	Port     int
}

func Setup

func Setup(dockerComposePath string) (DBConfig, func(), error)

func (DBConfig) Url added in v0.11.0

func (c DBConfig) Url() string

Jump to

Keyboard shortcuts

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