Versions in this module Expand all Collapse all v0 v0.188.3 Jan 15, 2024 v0.94.0 Jan 15, 2024 Changes in this version + func DefaultProcessRequest(req *http.Request) *http.Request + func DefaultProcessResponse(res *http.Response) *http.Response + type Fixture struct + func NewFixture(store storage.Storage) *Fixture + func (f *Fixture) Add(originalReq *http.Request, originalRes *http.Response) error + func (f *Fixture) Delete(req *http.Request) bool + func (f *Fixture) Entries() []*storage.Entry + func (f *Fixture) Match(originalReq *http.Request) *http.Response + func (f *Fixture) WithMatcher(matcher Matcher) + func (f *Fixture) WithRequestProcessor(processRequest RequestProcessor) + func (f *Fixture) WithResponseProcessor(processResponse ResponseProcessor) + type Matcher func(b *http.Request) *http.Response + type RequestProcessor func(req *http.Request) *http.Request + type ResponseProcessor func(res *http.Response) *http.Response