Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrValidationFailed = status.New(codes.InvalidArgument, "request.validation_failed")
)
Functions ¶
func RequestLoggingInterceptor ¶
func RequestLoggingInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)
RequestLoggingInterceptor write request body to logs.
Types ¶
Click to show internal directories.
Click to hide internal directories.