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

Function NewChannelPool

netutil/pool/channel.go:36–49  ·  view source on GitHub ↗

NewChannelPool returns a new pool based on buffered channels with an idle capacity and maximum capacity. Factory is used when initial capacity is greater than zero to fill the pool. If there is no new connection available in the pool, a new connection will be created via the Factory() method. If blo

(idleSize int, maxSize int, factory Factory, blocking bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected