MCPcopy
hub / github.com/gorilla/websocket / Get

Method Get

conn.go:231–231  ·  view source on GitHub ↗

Get gets a value from the pool or returns nil if the pool is empty.

()

Source from the content-addressed store, hash-verified

229type BufferPool interface {
230 // Get gets a value from the pool or returns nil if the pool is empty.
231 Get() interface{}
232 // Put adds a value to the pool.
233 Put(interface{})
234}

Callers 13

selectSubprotocolMethod · 0.65
UpgradeMethod · 0.65
SubprotocolsFunction · 0.65
TestHostFunction · 0.65
TestNextProtosFunction · 0.65
beginMessageMethod · 0.65
proxy_FromEnvironmentFunction · 0.65

Implementers 1

simpleBufferPoolconn_test.go

Calls

no outgoing calls

Tested by 5

TestHostFunction · 0.52
TestNextProtosFunction · 0.52