Documentation ¶
Index ¶
Constants ¶
View Source
const ( TestPhrase string = "Want: %v\\nGot: %v" TestPhraseWContext string = "Failed %s => Want: %v\\nGot: %v" )
Variables ¶
This section is empty.
Functions ¶
func HandlerResponse ¶
func HandlerResponse(payload string) http.HandlerFunc
func SetHttpUpMockServer ¶
func SetHttpUpMockServer(handlerFunc http.HandlerFunc) *httptest.Server
func SetUpHandlerFuncNegativeResponse ¶
func SetUpHandlerFuncNegativeResponse(bad string) http.HandlerFunc
func SetUpHandlerFuncPositiveResponse ¶
func SetUpHandlerFuncPositiveResponse(good string) http.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.