proxy

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Writer

type Writer struct {
	Code      int
	HeaderMap http.Header
	Body      *bytes.Buffer
	// contains filtered or unexported fields
}

Writer represents http writer

func NewWriter

func NewWriter() *Writer

func (*Writer) Header

func (w *Writer) Header() http.Header

func (*Writer) Write

func (w *Writer) Write(buf []byte) (int, error)

func (*Writer) WriteHeader

func (w *Writer) WriteHeader(code int)

Jump to

Keyboard shortcuts

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