Documentation ¶
Overview ¶
A package for mocking the JSON HTTP POST requests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Poster ¶
type Poster interface { // Create a POST request. Post(url string, r io.Reader) (*http.Response, error) }
A Poster is an interface for creating JSON HTTP POST requests.
type PosterCloser ¶
Click to show internal directories.
Click to hide internal directories.