MCPcopy
hub / github.com/grpc/grpc-go / newHealthData

Function newHealthData

balancer_wrapper.go:298–303  ·  view source on GitHub ↗
(s connectivity.State)

Source from the content-addressed store, hash-verified

296}
297
298func newHealthData(s connectivity.State) *healthData {
299 return &healthData{
300 connectivityState: s,
301 closeHealthProducer: func() {},
302 }
303}
304
305// updateState is invoked by grpc to push a subConn state update to the
306// underlying balancer.

Callers 3

NewSubConnMethod · 0.85
updateStateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected