Documentation ¶
Overview ¶
Package middleware contains some middlewares for access logging.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequestWithLogEntry ¶
RequestWithLogEntry returns request that has a context with accesslog.HTTPLogEntry.
func UnaryServerInterceptor ¶
func UnaryServerInterceptor(logger *accesslog.GRPCLogger) grpc.UnaryServerInterceptor
UnaryServerInterceptor will write access log to the given grpc server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.