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

Function init

resolver_test.go:45–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43}
44
45func init() {
46 resolver.Register(&wrapResolverBuilder{Builder: resolver.Get("passthrough"), scheme: "casetest"})
47 resolver.Register(&wrapResolverBuilder{Builder: resolver.Get("dns"), scheme: "caseTest"})
48}
49
50func (s) TestResolverCaseSensitivity(t *testing.T) {
51 // This should find the "casetest" resolver instead of the "caseTest"

Callers

nothing calls this directly

Calls 2

RegisterFunction · 0.92
GetFunction · 0.92

Tested by

no test coverage detected