mongodb

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(uri string) (*client, error)

NewClient creates a new MongoDB client which implements our store interface and can be used instead of Bolt. To create a local MongoDB for testing the following commands can be used:

docker run --name mongodb -d -p 27017:27017 mongo
docker stop mongodb
docker rm mongodb

Types

This section is empty.

Jump to

Keyboard shortcuts

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