Documentation ¶ Index ¶ func Logger(l *zap.Logger) func(next http.Handler) http.Handler Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Logger ¶ func Logger(l *zap.Logger) func(next http.Handler) http.Handler Logger is a middleware that logs the start and end of each request, along with some useful data about what was requested, what the response status was, and how long it took to return. Types ¶ This section is empty. Source Files ¶ View all Source files logger.go Click to show internal directories. Click to hide internal directories.