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.
Click to show internal directories.
Click to hide internal directories.