mongodb

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mongodb provides health checks for a MongoDB connection. This works on MongoDB as well as Microsoft Azure Cosmos DB.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Health

func Health(componentID string, client *mongo.Client, timeout time.Duration, threshold time.Duration) health.ChecksProvider

Health returns a ChecksProvider for health checks about the process uptime. Note that it does not really return the process uptime, but the time since calling this function.

Types

This section is empty.

Jump to

Keyboard shortcuts

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