Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTestHttpServer ¶
func GetTestHttpServer(responses map[string][]byte, expects ...ExpectedRequest) (server *httptest.Server, after func())
Types ¶
type ExpectedRequest ¶
type ExpectedRequest struct { Url string `json:"url"` Expect interface{} `json:"expect"` }
Click to show internal directories.
Click to hide internal directories.