MCPcopy
hub / github.com/andeya/pholcus / Call

Function Call

common/mgo/mgo.go:194–196  ·  view source on GitHub ↗

Call executes fn with a pooled MongoDB connection.

(fn func(pool.Src) error)

Source from the content-addressed store, hash-verified

192
193// Call executes fn with a pooled MongoDB connection.
194func Call(fn func(pool.Src) error) result.VoidResult {
195 return getPool().Call(fn)
196}
197
198// Close shuts down the connection pool.
199func Close() {

Callers 11

flushMethod · 0.92
ReadFailureMethod · 0.92
initFunction · 0.92
ExecMethod · 0.85
ExecMethod · 0.85
ExecMethod · 0.85
ExecMethod · 0.85
ExecMethod · 0.85
ExecMethod · 0.85
ExecMethod · 0.85
ExecMethod · 0.85

Calls 2

getPoolFunction · 0.85
CallMethod · 0.65

Tested by

no test coverage detected