sentryhandler

package
v14.4.4 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 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