Versions in this module Expand all Collapse all v1 v1.2.0 May 22, 2020 Changes in this version type Mocker + Router http.Handler v1.1.0 Jun 13, 2019 Changes in this version + type Header map[string]string + type Mocker struct + func New(router http.Handler) *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 v1.0.0 Dec 4, 2018