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

Function Register

internal/balancer/stub/stub.go:114–116  ·  view source on GitHub ↗

Register registers a stub balancer builder which will call the provided functions. The name used should be unique.

(name string, bf BalancerFuncs)

Source from the content-addressed store, hash-verified

112// Register registers a stub balancer builder which will call the provided
113// functions. The name used should be unique.
114func Register(name string, bf BalancerFuncs) {
115 balancer.Register(bb{name: name, bf: bf})
116}

Calls 1

RegisterFunction · 0.92