MCPcopy Create free account
hub / github.com/One-com/gone / Get

Method Get

netutil/pool/pool.go:21–21  ·  view source on GitHub ↗

Get returns a new connection from the pool. Closing the connections puts it back to the Pool. Closing it when the pool is destroyed or full will be counted as an error. The "fresh" return indicates whether this connection is newly minted and expected not to be failing.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

TestFileWithFunction · 0.65
TestExportFunction · 0.65
getPoolEventFunction · 0.65
getBufferFunction · 0.65

Implementers 1

channelPoolnetutil/pool/channel.go

Calls

no outgoing calls

Tested by 2

TestFileWithFunction · 0.52
TestExportFunction · 0.52