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

# Functions

AddMeta wraps the query with meta data.
CurrentRequestID gets the current request id.
NewCommand creates a new RequestMessage to be set as a command.
NewWireProtocolCodec creates a MessageReadWriter for the binary message format.
NextRequestID gets the next request id.

# Constants

ReplayMessageFlags constants.
QueryFlags constants.
ReplayMessageFlags constants.
QueryFlags constants.
QueryFlags constants.
QueryFlags constants.
QueryFlags constants.
ReplayMessageFlags constants.
QueryFlags constants.
QueryFlags constants.

# Structs

Query is a message sent to the server.
Reply is a message received from the server.
ReplyIter iterates over the documents returned in a Reply.

# Interfaces

Codec encodes and decodes messages.
Decoder decodes messages.
Encoder encodes messages.
Message represents a MongoDB message.
Request is a message sent to the server.
Response is a message received from the server.

# Type aliases

QueryFlags are the flags in a Query.
ReplyFlags are the flags in a Reply.