Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggingInterceptor ¶
type LoggingInterceptor struct {
// contains filtered or unexported fields
}
func NewLoggingInterceptor ¶
func NewLoggingInterceptor(logger logging.Logger) *LoggingInterceptor
func (*LoggingInterceptor) Interceptor ¶
func (i *LoggingInterceptor) Interceptor(h http.Handler) http.Handler
Interceptor returns a handler that provides access logging.
github.com/gorilla/handlers/logging.go https://arunvelsriram.medium.com/simple-golang-http-logging-middleware-315656ff8722
Click to show internal directories.
Click to hide internal directories.