utils

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpLogger

type HttpLogger struct {
	Output io.Writer
	Debug  bool
	// contains filtered or unexported fields
}

func (HttpLogger) LogBody

func (l HttpLogger) LogBody(body io.Reader) ([]byte, error)

func (*HttpLogger) LogRequest

func (l *HttpLogger) LogRequest(request *http.Request) error

func (HttpLogger) LogResponse

func (l HttpLogger) LogResponse(response *http.Response) error

Jump to

Keyboard shortcuts

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