logging

package
v0.0.0-...-f9ae87e Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Middleware

func Middleware(server *viewproxy.Server, l logger) func(http.Handler) http.Handler

func NewLogTripper

func NewLogTripper(l logger, sf secretfilter.Filter, tripper multiplexer.Tripper) multiplexer.Tripper

Types

type ResponseWrapper

type ResponseWrapper struct {
	StatusCode int
	// contains filtered or unexported fields
}

func (*ResponseWrapper) Header

func (rw *ResponseWrapper) Header() http.Header

func (*ResponseWrapper) Write

func (rw *ResponseWrapper) Write(p []byte) (int, error)

func (*ResponseWrapper) WriteHeader

func (rw *ResponseWrapper) WriteHeader(statusCode int)

Jump to

Keyboard shortcuts

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