Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFileReader ¶
Types ¶
type StreamReader ¶
type StreamReader struct {
// contains filtered or unexported fields
}
StreamReader is an instance of RequestSource that iterates over a list of JSON requests, using a static scheme and host. The JSON records are decoded as Request instances. As the Requests returned by Next() are decoded from a io.Reader, the response body is never read in the Read(*http.Response) method.
func (*StreamReader) Reset ¶
func (s *StreamReader) Reset() error
Click to show internal directories.
Click to hide internal directories.