dump

package
v0.0.0-...-988eabb Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpDumpOptions

type HttpDumpOptions struct {
	IncludeBody []string
	ExcludeBody []string
	Destination string
	IsTLS       bool
}

type HttpDumpReadWriter

type HttpDumpReadWriter struct {
	R io.Reader
	W io.Writer
	// contains filtered or unexported fields
}

func NewHttpDumpReadWriter

func NewHttpDumpReadWriter(r io.Reader, w io.Writer, options *HttpDumpOptions) *HttpDumpReadWriter

func (*HttpDumpReadWriter) Close

func (h *HttpDumpReadWriter) Close() error

func (*HttpDumpReadWriter) Read

func (h *HttpDumpReadWriter) Read(p []byte) (n int, err error)

func (*HttpDumpReadWriter) Write

func (h *HttpDumpReadWriter) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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