Documentation ¶
Index ¶
- func NewClient() *http.Client
- type Transport
- func (tr *Transport) Record(req *http.Request, res *http.Response) error
- func (tr *Transport) Remove(req *http.Request) error
- func (tr *Transport) RoundTrip(req *http.Request) (*http.Response, error)
- func (tr *Transport) SetEncoderDecoder(ed dump.EncoderDecoder)
- func (tr *Transport) SetStore(s store.Store)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Transport ¶
type Transport struct {
// contains filtered or unexported fields
}
func NewTransport ¶
func NewTransport() *Transport
func (*Transport) SetEncoderDecoder ¶
func (tr *Transport) SetEncoderDecoder(ed dump.EncoderDecoder)
Click to show internal directories.
Click to hide internal directories.