Documentation
¶
Overview ¶
Package mongoex contains a variety of tools for working safely with MongoDB.
There are tools for: - observability (both for queries and connection info) - health checks
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
func Load(ctx context.Context, appName string, cfg Config, sys *system.System) (*mongo.Client, error)
Load connects to mongo. The context passed in is expected to carry an o11y provider and is only used for reporting (not for cancellation),
Types ¶
Click to show internal directories.
Click to hide internal directories.