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

Function init

balancer/grpclb/grpclb.go:105–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103}
104
105func init() {
106 balancer.Register(newLBBuilder())
107 dns.EnableSRVLookups = true
108}
109
110// newLBBuilder creates a builder for grpclb.
111func newLBBuilder() balancer.Builder {

Callers

nothing calls this directly

Calls 2

RegisterFunction · 0.92
newLBBuilderFunction · 0.85

Tested by

no test coverage detected