Versions in this module Expand all Collapse all v0 v0.1.0 May 17, 2020 Changes in this version + var DefaultOptions = Options + func ModifyHTTPRequestBody(request *http.Request, modifyFunc ModifyStringFunc) + type Mode uint32 + const ModeRecord + const ModeReplay + const ModeStopped + type ModifyStringFunc func(input string) string + type Options struct + HTTPDefaultOverride bool + type VCR struct + BeforeRequest func(Mode, *http.Request) + Cassette *cassette + FilterMap map[string]string + URLRewriter func(string) string + func New(cassetteName string, opts ...Options) *VCR + func (v *VCR) Done() <-chan struct{} + func (v *VCR) FilterResponseBody(original string, replacement string) + func (v *VCR) Mode() Mode + func (v *VCR) RoundTrip(request *http.Request) (*http.Response, error) + func (v *VCR) Start(ctx context.Context) + func (v *VCR) Stop()