package
0.0.0-20240318155159-e89a0ad6e1cb
Repository: https://github.com/apecloud/dataprotection-wal-g.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewMongoOplogCursor builds MongoOplogCursor.
NewMongoClient builds MongoClient.
NewMongoOplogCursor builds MongoOplogCursor.
OplogAlwaysUpsert sets applyOps argument alwaysUpsert.
OplogAlwaysUpsert sets applyOps argument oplogApplicationMode.
WaitForBecomePrimary waits until mongo client connection node becomes primary.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

ApplyOplog is used to replay oplog entry.
BsonCursor implements OplogCursor with source io.reader.
CmdResponse is used to unmarshal mongodb cmd responses.
IndexDocument holds information about a collection's index.
IsMaster is used to unmarshal results of IsMaster command.
IsMasterLastWrite ...
MongoClient implements MongoDriver.
MongoOplogCursor implements OplogCursor.
Optime ...
Options defines mongo client options.

# Interfaces

MongoDriver defines methods to work with mongodb.
OplogCursor defines methods to work with mongodb cursor.

# Type aliases

No description provided by the author
No description provided by the author