Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorInterceptor ¶ added in v0.20.0
type ErrorInterceptor struct {
// contains filtered or unexported fields
}
func NewErrorInterceptor ¶ added in v0.20.0
func NewErrorInterceptor(a errors.Alerter, l *zerolog.Logger) *ErrorInterceptor
func (*ErrorInterceptor) ErrorStreamServerInterceptor ¶ added in v0.20.0
func (e *ErrorInterceptor) ErrorStreamServerInterceptor() grpc.StreamServerInterceptor
StreamServerInterceptor returns a new streaming server interceptor for panic recovery.
func (*ErrorInterceptor) ErrorUnaryServerInterceptor ¶ added in v0.20.0
func (e *ErrorInterceptor) ErrorUnaryServerInterceptor() grpc.UnaryServerInterceptor
UnaryServerInterceptor returns a new unary server interceptor for panic recovery.
Click to show internal directories.
Click to hide internal directories.