Documentation ¶
Overview ¶
Package httptools provides a set of tools for testing HTTP handlers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FakeBody ¶
func FakeBody(payload string) io.ReadCloser
FakeBody returns a fake io.ReadCloser for testing purposes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.