request

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2016 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func New

func New(method, path string) *http.Request

New wraps 'http.NewRequest' so it isn't necessary to import 'net/http' everywhere

func Perform

func Perform(h http.Handler, method, path string) *httptest.ResponseRecorder

Shorthand for Handle(handler, New(method, path))

Types

This section is empty.

Jump to

Keyboard shortcuts

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