Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FailingReadCloser ¶
type FailingReadCloser struct{}
FailingReadCloser is ReadCloser that fails.
func (FailingReadCloser) Close ¶
func (FailingReadCloser) Close() error
type FailingReadProvider ¶
type FailingReadProvider struct{}
FailingReadProvider returns a Body whose Read() method always fails.
type FileReaderProvider ¶
FileReaderProvider implements an HTTPProvider but the response's content comes from a configurable file.
type StringProvider ¶
type StringProvider struct {
Response string
}
StringProvider implements an HTTPProvider but the response's content is a fixed string.
Click to show internal directories.
Click to hide internal directories.