package
1.8.0
Repository: https://github.com/onsdigital/dp-mongodb.git
Documentation: pkg.go.dev

# Functions

NewClient returns a new health check client using the given service.
NewClientWithCollections returns a new health check client containing the collections using the given service.

# Constants

ServiceName mongodb.

# Variables

List of errors.
List of errors.
HealthyMessage is the message that will be used in healthcheck when mongo is Healthy and all the collections exist.

# Structs

CheckMongoClient is an implementation of the mongo client with a healthcheck.
Client provides a healthcheck.Client implementation for health checking the service.

# Type aliases

No description provided by the author
No description provided by the author
Healthcheck health check function.