http

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadRequest

func ReadRequest(call argReader) (*http.Request, error)

ReadRequest reads a http.Request from the given readers.

func ReadResponse

func ReadResponse(call argReader) (*http.Response, error)

ReadResponse reads a http.Response from the given readers.

func ResponseWriter

func ResponseWriter(response argWriter) (http.ResponseWriter, func() error)

ResponseWriter returns a http.ResponseWriter that will write to an underlying writer. It also returns a function that should be called once the handler has completed.

func WriteRequest

func WriteRequest(call argWriter, req *http.Request) error

WriteRequest writes a http.Request to the given writers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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