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 + type Entry struct + Request *http.Request + Response *http.Response + func (e *Entry) Match(incoming *http.Request) *http.Response + type HAR struct + func NewHARStorage(path string) *HAR + func (s *HAR) Add(req *http.Request, res *http.Response) error + func (s *HAR) Delete(req *http.Request) bool + func (s *HAR) Entries() []*Entry + func (s *HAR) Init() + func (s *HAR) Load() error + func (s *HAR) Match(req *http.Request) *http.Response + func (s *HAR) Save() error + func (s *HAR) WithCurrentTimeOverride(fn func() time.Time) + func (s *HAR) WithUUIDOverride(fn func() string) + type OpenAPI struct + func NewOpenAPIStorage(path string) *OpenAPI + func (o *OpenAPI) Add(*http.Request, *http.Response) error + func (o *OpenAPI) Delete(*http.Request) bool + func (o *OpenAPI) Entries() []*Entry + func (o *OpenAPI) Load() error + func (o *OpenAPI) Match(req *http.Request) *http.Response + func (o *OpenAPI) Save() error + type Storage interface + Add func(*http.Request, *http.Response) error + Delete func(*http.Request) bool + Entries func() []*Entry + Match func(*http.Request) *http.Response