Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RequestErrorText = "request error"
View Source
var RequestOkText = "request success"
View Source
var ServerErrorText = "server error"
Functions ¶
func WithGrpcErrorLogging ¶
func WithGrpcErrorLogging(log logr.Logger) runtime.ServeMuxOption
WithGrpcErrorLogging logs errors returned from server RPC handlers. Our errors happen in gRPC land, so we cannot introspect into the content of the error message in the WithLogging http.Handler. Normal gRPC middleware was not working for this: https://github.com/grpc-ecosystem/grpc-gateway/issues/1043
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.