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

Struct unwrappingPicker

balancer/pickfirst/pickfirst_ext_test.go:2815–2817  ·  view source on GitHub ↗

unwrappingPicker unwraps SubConns because the channel expects SubConns to be addrConns.

Source from the content-addressed store, hash-verified

2813// unwrappingPicker unwraps SubConns because the channel expects SubConns to be
2814// addrConns.
2815type unwrappingPicker struct {
2816 balancer.Picker
2817}
2818
2819func (pw *unwrappingPicker) Pick(info balancer.PickInfo) (balancer.PickResult, error) {
2820 pr, err := pw.Picker.Pick(info)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected