package
1.1.1
Repository: https://github.com/userzhangjinlong/go-zero.git
Documentation: pkg.go.dev

# Functions

DisableInfoLog disables info logging of mongo commands, but keeps slow logs.
DisableLog disables logging of mongo commands, includes info and slow logs.
FormatAddr formats mongo hosts to a string.
Inject injects a *mongo.Client into the client manager.
MustNewModel returns a Model, exits on errors.
NewBulkInserter returns a BulkInserter.
NewModel returns a Model.
SetSlowThreshold sets the slow threshold.
WithTimeout set the mon client operation timeout.

# Variables

ErrNotFound is an alias of mongo.ErrNoDocuments.

# Structs

No description provided by the author
ClosableClient wraps *mongo.Client and provides a Close method.
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

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