Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var COUNT_HEADER string = "TEST-REQUEST-ATTEMPT"
Functions ¶
func AddCountHeader ¶
func AddCountHeader(inner http.RoundTripper) *requestCounter
func CassetteFileExists ¶
CassetteFileExists returns true if a cassette file exists AND it contains a go-vcr V1 recording
func NewTestPlayer ¶
NewTestPlayer creates a TestRecorder that can be used to replay test recorded with go-vcr v1. cassetteName is the name of the cassette file to replay. cfg is the configuration to use when replaying the test.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.