package
0.3.0
Repository: https://github.com/chenxiu01/mongo-go-driver.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Create a OP_REPLY wiremessage from a BSON document.
MultiError combines multiple errors into a single error.
NewSemaphore creates a new semaphore.
RolledUpErrorMessage gets a flattened error message.
UnwrapError attempts to unwrap the error down to its root cause.
WrapError wraps an error with a message.
WrapErrorf wraps an error with a message.

# Variables

Version is the current version of the driver.

# Structs

BuildInfoResult is the result of executing the buildInfo command.
Implements the connection.Connection interface by reading and writing wire messages to a channel.
GetLastErrorResult is the result of executing the getLastError command.
IsMasterResult is the result of executing this ismaster command.
Semaphore is a synchronization primitive that controls access to a common resource.

# Interfaces

WrappedError represents an error that contains another error.