interceptor

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package interceptor contains gRPC interceptors. This package is not intended to be used directly from plugins. Its main use today is to insert shared processes such as logging.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequestLogging

func RequestLogging(direction string) grpc.UnaryServerInterceptor

RequestLogging is an interceptor for gRPC request logging. It outouts all request logs as "trace" level, and if an error occurs, it outputs the response as "error" level.

Types

This section is empty.

Jump to

Keyboard shortcuts

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