Documentation ¶
Index ¶
- type Header
- type Mocker
- func (c *Mocker) Delete(path string, body []byte, header *Header) *httptest.ResponseRecorder
- func (c *Mocker) Get(path string, body []byte, header *Header) *httptest.ResponseRecorder
- func (c *Mocker) Head(path string, body []byte, header *Header) *httptest.ResponseRecorder
- func (c *Mocker) Options(path string, body []byte, header *Header) *httptest.ResponseRecorder
- func (c *Mocker) Patch(path string, body []byte, header *Header) *httptest.ResponseRecorder
- func (c *Mocker) Post(path string, body []byte, header *Header) *httptest.ResponseRecorder
- func (c *Mocker) Put(path string, body []byte, header *Header) *httptest.ResponseRecorder
- func (c *Mocker) Request(method string, path string, body []byte, header *Header) *httptest.ResponseRecorder
- func (c *Mocker) Trace(path string, body []byte, header *Header) *httptest.ResponseRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.