Back to / pkg / capturewriter

Package capturewriter

Latest Go to latest

The latest major version is .

Published: Jul 30, 2020 | License: MIT | Module:


func Configure

func Configure()

Configure see main.go configure()

type CaptureWriter

type CaptureWriter struct {
	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)

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier