response

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure added in v0.9.0

func Configure()

Configure see main.go configure()

Types

type CaptureWriter

type CaptureWriter struct {
	http.ResponseWriter
	StatusCode int
}

CaptureWriter extends http.ResponseWriter

func (*CaptureWriter) GetStatusCode

func (w *CaptureWriter) GetStatusCode() int

GetStatusCode return w.StatusCode

func (*CaptureWriter) Header

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

Header calls http.Writer.Header()

func (*CaptureWriter) Write

func (w *CaptureWriter) Write(b []byte) (int, error)

func (*CaptureWriter) WriteHeader

func (w *CaptureWriter) WriteHeader(code int)

WriteHeader calls http.Writer.WriteHeader(code)

Jump to

Keyboard shortcuts

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