debug

package
v0.0.0-...-430806f Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2013 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package debug implements an HTTP decorator which dumps request/response bodies to STDOUT

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log(h http.Handler) http.Handler

Types

type HttpLogger

type HttpLogger struct {
	// contains filtered or unexported fields
}

func (HttpLogger) Header

func (hl HttpLogger) Header() http.Header

func (HttpLogger) Write

func (hl HttpLogger) Write(content []byte) (int, error)

func (HttpLogger) WriteHeader

func (hl HttpLogger) WriteHeader(code int)

Jump to

Keyboard shortcuts

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