Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Chain ¶
func Chain(interceptors ...UnaryServerInterceptor) grpc.UnaryServerInterceptor
Types ¶
type UnaryServerInterceptor ¶
type UnaryServerInterceptor func(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)
func Logging ¶
func Logging(log *zap.Logger) UnaryServerInterceptor
func Metrics ¶
func Metrics() UnaryServerInterceptor
func Recovery ¶
func Recovery() UnaryServerInterceptor
Click to show internal directories.
Click to hide internal directories.