modifiers

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultWriter io.Writer

Functions

This section is empty.

Types

type WritterLogger

type WritterLogger struct {
	// contains filtered or unexported fields
}

func NewLogger

func NewLogger(w io.Writer, opt ...helper.Option[WritterLogger]) *WritterLogger

func (*WritterLogger) ModifyRequest

func (l *WritterLogger) ModifyRequest(req *http.Request) error

ModifyRequest logs requests.

func (*WritterLogger) ModifyResponse

func (l *WritterLogger) ModifyResponse(res *http.Response) error

Jump to

Keyboard shortcuts

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