Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SanitizeUserInput ¶
func StreamServerInterceptor ¶
func StreamServerInterceptor() grpc.StreamServerInterceptor
StreamServerInterceptor returns an interceptor that adds the request id as a field to the logrus logger embedded in the context. If an error occurs in the handler, it also adds a stack trace.
func UnaryServerInterceptor ¶
func UnaryServerInterceptor() grpc.UnaryServerInterceptor
UnaryServerInterceptor returns an interceptor that adds the request id as a field to the logrus logger embedded in the context. If an error occurs in the handler, it also adds a stack trace.
Types ¶
type CommandLineFormatter ¶
type CommandLineFormatter struct{}
Click to show internal directories.
Click to hide internal directories.