Documentation ¶
Index ¶
Constants ¶
View Source
const (
// HeaderRequestID header name for request id
HeaderRequestID = "X-Request-Id"
)
Variables ¶
This section is empty.
Functions ¶
func StreamServerInterceptor ¶
func StreamServerInterceptor(config GRpcConfig) grpc.StreamServerInterceptor
StreamServerInterceptor returns a new stream server interceptors that performs logging
func UnaryServerInterceptor ¶
func UnaryServerInterceptor(config GRpcConfig) grpc.UnaryServerInterceptor
UnaryServerInterceptor returns a new unary server interceptors that performs logging
Types ¶
Click to show internal directories.
Click to hide internal directories.