accesslog

package
v4.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL