Versions in this module Expand all Collapse all v0 v0.1.0 Jan 28, 2021 Changes in this version + type Client struct + func NewClient() *Client + func (c *Client) On(method string, url string) *ClientExpectation + type ClientExpectation struct + Client *Client + Method string + URL string + func (ce *ClientExpectation) Return(r httpmock.Responder) *ClientExpectation + func (ce *ClientExpectation) ReturnError(msg string) *ClientExpectation + func (ce *ClientExpectation) ReturnJSON(status int, body interface{}) *ClientExpectation + func (ce *ClientExpectation) ReturnJSONWithHeader(status int, body interface{}, header http.Header) *ClientExpectation + func (ce *ClientExpectation) ReturnNotFound() *ClientExpectation + func (ce *ClientExpectation) ReturnString(status int, body string) *ClientExpectation + func (ce *ClientExpectation) ReturnStringWithHeader(status int, body string, header http.Header) *ClientExpectation + type Server struct + func NewServer(t *testing.T, handler http.Handler) *Server