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

Function Get

resolver/resolver.go:61–66  ·  view source on GitHub ↗

Get returns the resolver builder registered with the given scheme. If no builder is register with the scheme, nil will be returned.

(scheme string)

Source from the content-addressed store, hash-verified

59//
60// If no builder is register with the scheme, nil will be returned.
61func Get(scheme string) Builder {
62 if b, ok := m[scheme]; ok {
63 return b
64 }
65 return nil
66}
67
68// SetDefaultScheme sets the default scheme that will be used. The default
69// scheme is initially set to "passthrough".

Callers 15

getResolverMethod · 0.92
initFunction · 0.92
parseRLSProtoFunction · 0.92
replaceDNSResolverFunction · 0.92
proxyURIResolverMethod · 0.92
setupDNSFunction · 0.92
TestResolverBuildMethod · 0.92

Calls

no outgoing calls

Tested by 15

initFunction · 0.74
replaceDNSResolverFunction · 0.74
setupDNSFunction · 0.74
TestResolverBuildMethod · 0.74
TestCustomAuthorityMethod · 0.74
replaceDNSResolverFunction · 0.74