interceptor

package
v0.0.0-...-eb41677 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authentication deprecated

func Authentication(excludedMethods []string) grpc.UnaryServerInterceptor

Deprecated: Use `interceptor/authentication` instead.

func ErrorHandler deprecated

func ErrorHandler(mapErrCodes map[error]codes.Code) grpc.UnaryServerInterceptor

Deprecated: use logging module instead. ErrorHandler handles proper error codes & messages so the error details won't be thrown to grpc client. e.g sql errors, pointer errors, marshall errors etc.

func Logger deprecated

Deprecated: Use `interceptor/logger` instead.

func Recovery deprecated

Deprecated: Use `interceptor/recovery` instead.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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