mongodb

package
v2.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(dsn string) checker.Checker

New creates the MongoDB checker

Types

type MongoDB

type MongoDB struct {
	// contains filtered or unexported fields
}

MongoDB represents MongoDB checker

func (*MongoDB) Check

func (m *MongoDB) Check(ctx context.Context) (err error)

Check checks MongoDB connection

func (MongoDB) Identity

func (m MongoDB) Identity() (string, error)

Identity returns the identity of the checker

Jump to

Keyboard shortcuts

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