sentryhandler

package
v16.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarkToSkip

func MarkToSkip(ctx context.Context)

MarkToSkip propagate context with a special tag that signals to sentry handler that the error must not be reported.

func StreamLogHandler

func StreamLogHandler(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error

StreamLogHandler handles access times and errors for stream RPC's

func UnaryLogHandler

func UnaryLogHandler(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)

UnaryLogHandler handles access times and errors for unary RPC's

Types

This section is empty.

Jump to

Keyboard shortcuts

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