Documentation
¶
Index ¶
- Variables
- type Client
- func (c *Client) Do(method, path string, data interface{}, out interface{}) (r Reply)
- func (c *Client) DoTesting(tb testing.TB, method, path string, data interface{}, out interface{}) (r Reply)
- func (c *Client) GetFullURL(subPath string) (*url.URL, error)
- func (c *Client) RawDo(method, path string) (*http.Response, error)
- func (c *Client) Reset()
- type PartialMatch
- type Reply
- type TestRequest
Constants ¶
This section is empty.
Variables ¶
View Source
var (
LogRequests = false
)
Functions ¶
This section is empty.
Types ¶
type PartialMatch ¶
type PartialMatch []byte
type TestRequest ¶
type TestRequest struct { Method string Path string Data interface{} ExpectedStatus int ExpectedData interface{} }
func (*TestRequest) String ¶
func (tr *TestRequest) String() string
Click to show internal directories.
Click to hide internal directories.