go.mongodb.org/mongo-driver/mongo.Client.Disconnect
third-partyThe 7192nd most-called third-party method by production calls. Called 127 times across 12 modules; 82 of those run outside tests and generated code.
All of go.mongodb.org/mongo-driver/mongo → Docs on pkg.go.dev ↗
- prod calls
- 82
- non-test, non-generated
- all calls
- 127
- total callsites
- modules
- 12
- distinct callers
- in loop
- 2%
- of prod calls
- in tests
- 35%
- 45 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Concrete method100%A method on a value whose type is known exactly.
who calls this
Notable callers
Production calls into Client.Disconnect from notable Go projects. Open one on the map to see what else it hammers.
where it's called
Callsites in the wild
12 representative callsites of 127, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
go.mongodb.org/mongo-driver @v1.17.9
benchmark/operation_test.go:44
in loop test -
go.mongodb.org/mongo-driver @v1.17.9
benchmark/operation_test.go:88
in loop test -
go.mongodb.org/mongo-driver @v1.17.9
benchmark/operation_test.go:137
in loop test -
go.mongodb.org/mongo-driver @v1.17.9
mongo/integration/crud_helpers_test.go:143
in loop test -
go.mongodb.org/mongo-driver @v1.17.9
mongo/integration/client_test.go:186
in loop test -
go.mongodb.org/mongo-driver @v1.17.9
mongo/client_test.go:366
in loop test -
-
-
-
top callers
The modules that reach for it
The modules that call Client.Disconnect most in this snapshot.
- go.mongodb.org/mongo-driver10784%
- github.com/hashicorp/vault54%
- github.com/golang-migrate/migrate/v422%
- github.com/gorse-io/gorse22%
- github.com/hidal-go/hidalgo22%
siblings
More from go.mongodb.org/mongo-driver/mongo
The other most-called members in this package. See all →