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

Struct exampleResolver

examples/features/load_balancing/client/main.go:108–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106func (*exampleResolverBuilder) Scheme() string { return exampleScheme }
107
108type exampleResolver struct {
109 target resolver.Target
110 cc resolver.ClientConn
111 addrsStore map[string][]string
112}
113
114func (r *exampleResolver) start() {
115 addrStrs := r.addrsStore[r.target.Endpoint()]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected