grpc_sentry

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2021 License: MIT Imports: 3 Imported by: 0

README

Go

go-grpc-sentry

Sentry integration for GRPC Servers

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnaryServerInterceptor

func UnaryServerInterceptor(ec ExceptionCapturer) grpc.UnaryServerInterceptor

UnaryServerInterceptor creates an interceptor which catches the errors from each service method and reports them to Sentry

Types

type ExceptionCapturer

type ExceptionCapturer interface {
	CaptureException(err error) *sentry.EventID
}

ExceptionCapturer specifies the implementation of a method to capture the given error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL