Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/segmentio/kafka-go
/ setState
Method
setState
transport.go:317–319 ·
view source on GitHub ↗
(state connPoolState)
Source
from the content-addressed store, hash-verified
315
}
316
317
func
(p *connPool) setState(state connPoolState) {
318
p.state.Store(state)
319
}
320
321
func
(p *connPool) ref() {
322
atomic.AddUintptr(&p.refc, +1)
Callers
3
TestIssue672
Function · 0.95
TestIssue806
Function · 0.95
update
Method · 0.95
Calls
no outgoing calls
Tested by
2
TestIssue672
Function · 0.76
TestIssue806
Function · 0.76