grpc_logging

package
v1.46.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLoggingStreamServerInterceptor

func NewLoggingStreamServerInterceptor(counter *uint64, logger logging.Logger) grpc.StreamServerInterceptor

Reduced version of the OPA HTTP request logging wrapper. The function generates a stream request interceptor for the gRPC server that is pre-loaded with the correct logger to use.

func NewLoggingUnaryServerInterceptor

func NewLoggingUnaryServerInterceptor(counter *uint64, logger logging.Logger) grpc.UnaryServerInterceptor

Reduced version of the OPA HTTP request logging wrapper. The function generates a unary request interceptor for the gRPC server that is pre-loaded with the correct logger to use.

Types

This section is empty.

Jump to

Keyboard shortcuts

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