An open API service providing repository metadata for many open source software ecosystems.

Package Usage: go: github.com/globalsign/mgo

Package mgo (pronounced as "mango") offers a rich MongoDB driver for Go. Detailed documentation of the API is available at GoDoc: Usage of the driver revolves around the concept of sessions. To get started, obtain a session using the Dial function: This will establish one or more connections with the cluster of servers defined by the url parameter. From then on, the cluster may be queried with multiple consistency rules (see SetMode) and documents retrieved with statements such as: New sessions are typically created by calling session.Copy on the initial session obtained at dial time. These new sessions will share the same cluster information and connection pool, and may be easily handed into other methods and functions for organizing logic. Every session created must have its Close method called at the end of its life time, so its resources may be put back in the pool or collected, depending on the case. There is a sub-package that provides support for BSON, which can be used by itself as well: For more details, see the documentation for the types and methods.
4 versions
Latest release: almost 6 years ago
1,698 dependent packages

View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/globalsign/mgo

Dependent Repos 7

E218662B/web-api-rest-en-go-lang

Last synced: 12 months ago - Pushed: 11 months ago

E21A429P/tp_web_rest

Last synced: 12 months ago - Pushed: 11 months ago

swh/infra/ci-cd/3rdparty/alertmanager-irc-relay

Last synced: 7 months ago - Pushed: 11 months ago

swh/infra/ci-cd/3rdparty/cert-manager-webhook-gandi

Last synced: 7 months ago - Pushed: 11 months ago

signaux-faibles/opensignauxfaibles Fork of entrepreneur-interet-general/opensignauxfaibles
Plateforme de détection des entreprises fragiles

Size: 36.6 MB - Last synced: 7 days ago - Pushed: 3 months ago

signaux-faibles/datapi
datAPI - API des applications web signaux-faibles

Size: 43.1 MB - Last synced: 7 days ago - Pushed: about 1 month ago

csan/csan
CSAN : A marketplace for science

Last synced: 7 months ago