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

Function Register

admin/admin.go:56–58  ·  view source on GitHub ↗

Register registers the set of admin services to the given server. The returned cleanup function should be called to clean up the resources allocated for the service handlers after the server is stopped. Note that if `s` is not a *grpc.Server or a *xds.GRPCServer, CSDS will not be registered becaus

(s grpc.ServiceRegistrar)

Source from the content-addressed store, hash-verified

54// `grpc.ServiceRegistrar`.
55// https://github.com/envoyproxy/go-control-plane/issues/403
56func Register(s grpc.ServiceRegistrar) (cleanup func(), _ error) {
57 return internaladmin.Register(s)
58}

Callers 3

mainFunction · 0.92
mainFunction · 0.92
RunRegisterTestsFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected