Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client wraps a MongoDB client with additional functionality.
func NewClient ¶
NewClient establishes a new connection to MongoDB using the provided configuration. It first tries to connect with the current password, and upon failure, retries with the new password.
func (*Client) Disconnect ¶
Disconnect terminates the connection to the MongoDB database.
Click to show internal directories.
Click to hide internal directories.