httpwrap

package
v0.0.0-...-a197a46 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Middleware

type Middleware = middleware.Middleware

func New

func New() Middleware

type ResponseWriter

type ResponseWriter struct {
	http.ResponseWriter
	// contains filtered or unexported fields
}

ResponseWriter struct

func Unwrap

func Unwrap(w http.ResponseWriter) (rw *ResponseWriter, ok bool)

Unwrap the response writer

func Wrap

Wrap the response writer

func (*ResponseWriter) Flush

func (rw *ResponseWriter) Flush() (int, error)

Flush the response

Jump to

Keyboard shortcuts

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