Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StreamServerInterceptor ¶ added in v0.8.0
func StreamServerInterceptor(provider metrics.Provider, userAgentNames ...string) grpc_core.StreamServerInterceptor
StreamServerInterceptor creates a stream server interceptor that uses the generic metrics.Provider interface. The client user agent is matched against each of the provided names in order.
func UnaryServerInterceptor ¶ added in v0.8.0
func UnaryServerInterceptor(provider metrics.Provider, userAgentNames ...string) grpc_core.UnaryServerInterceptor
UnaryServerInterceptor creates a unary server interceptor that uses the generic metrics.Provider interface. The client user agent is matched against each of the provided names in order.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.