Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceInfoProvider ¶
type ServiceInfoProvider interface {
GetServiceInfo() map[string]grpc.ServiceInfo
}
ServiceInfoProvider is an interface used to retrieve metadata about the services to expose.
The reflection service is only interested in the service names, but the signature is this way so that *grpc.Server implements it. So it is okay for a custom implementation to return zero values for the grpc.ServiceInfo values in the map.
Experimental ¶
Notice: This type is EXPERIMENTAL and may be changed or removed in a later release.
Click to show internal directories.
Click to hide internal directories.