package
0.1.6
Repository: https://github.com/pinguo/pgo.git
Documentation: pkg.go.dev

# Constants

No description provided by the author

# Structs

Adapter of Mongo Client, add context support.
Mongo Client component, configuration: mongo: class: "@pgo/Client/Mongo/Client" dsn: "mongodb://host1:port1/[db][?options]" connectTimeout: "1s" readTimeout: "10s" writeTimeout: "10s" see Dial() for query options, default: replicaSet= connect=replicaSet maxPoolSize=100 minPoolSize=1 maxIdleTimeMS=300000 ssl=false w=1 j=false wtimeoutMS=10000 readPreference=secondaryPreferred.