Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompiledRequest ¶
type CompiledRequest struct { Request struct { Method string `json:"method,omitempty"` URL string `json:"url,omitempty"` Headers map[string]string `json:"headers,omitempty"` Body string `json:"body,omitempty"` } `json:"request,omitempty"` Response struct { Headers map[string]string `json:"headers,omitempty"` Body string `json:"body,omitempty"` } `json:"response,omitempty"` }
type Recorder ¶
func NewWithClient ¶
func (*Recorder) GetRequests ¶
func (r *Recorder) GetRequests() []*CompiledRequest
func (*Recorder) ResetClient ¶
func (r *Recorder) ResetClient()
Click to show internal directories.
Click to hide internal directories.