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

Struct passthroughResolver

internal/resolver/passthrough/passthrough.go:49–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49type passthroughResolver struct {
50 target resolver.Target
51 cc resolver.ClientConn
52}
53
54func (r *passthroughResolver) start() {
55 r.cc.UpdateState(resolver.State{Addresses: []resolver.Address{{Addr: r.target.Endpoint()}}})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected