MCPcopy
hub / github.com/rqlite/rqlite / Get

Method Get

tcp/pool/pool.go:20–20  ·  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.

()

Source from the content-addressed store, hash-verified

18 // it back to the Pool. Closing it when the pool is destroyed or full will
19 // be counted as an error.
20 Get() (net.Conn, error)
21
22 // New creates a new connection via the factory, bypassing any idle
23 // connections in the pool. Closing the returned connection will attempt

Callers 15

dialWithOptionMethod · 0.95
BackupMethod · 0.65
NodesMethod · 0.65
StatusMethod · 0.65
LeaderMethod · 0.65
ReadyMethod · 0.65
LivenessMethod · 0.65
ExpvarKeyMethod · 0.65
ConfirmRedirectMethod · 0.65
queryMethod · 0.65
Test_HasVersionHeaderFunction · 0.65

Implementers 1

channelPooltcp/pool/channel.go

Calls

no outgoing calls

Tested by 15

Test_HasVersionHeaderFunction · 0.52
Test_HasContentTypeJSONFunction · 0.52
Test_DoRedirectFunction · 0.52
Test_LicensesFunction · 0.52
Test_UIIndexFunction · 0.52
Test_UIRedirectSlashFunction · 0.52
Test_TLSServiceInsecureFunction · 0.52
Test_TLSServiceSecureFunction · 0.52