Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interceptor ¶
type Interceptor interface { ApplyUnaryServerInterceptor(grpc.UnaryServerInterceptor) grpc.UnaryServerInterceptor ApplyStreamServerInterceptor(grpc.StreamServerInterceptor) grpc.StreamServerInterceptor ApplyUnaryClientInterceptor(grpc.UnaryClientInterceptor) grpc.UnaryClientInterceptor ApplyStreamClientInterceptor(grpc.StreamClientInterceptor) grpc.StreamClientInterceptor }
func NewInterceptor ¶
func NewInterceptor(config Config) Interceptor
func NewInterceptorWithOpts ¶
func NewInterceptorWithOpts(opts ...Option) Interceptor
type Option ¶
type Option func(*Config)
func WithClientMetrics ¶
func WithClientTraffic ¶
func WithServerMetrics ¶
func WithServerTraffic ¶
Click to show internal directories.
Click to hide internal directories.