Documentation ¶
Overview ¶
Package testio provides Readers and Writers for testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ThroughputReader ¶
type ThroughputReader struct {
// contains filtered or unexported fields
}
A ThroughputReader limits read throughput.
func NewThroughputReader ¶
NewThroughputReader creates a ThroughputReader that limits throughput to msec mebibytes per second.
type ThroughputWriter ¶
type ThroughputWriter struct {
// contains filtered or unexported fields
}
A ThroughputWriter limits write throughput.
func NewThroughputWriter ¶
NewThroughputWriter creates a ThroughputWriter that limits throughput to msec mebibytes per second.
Click to show internal directories.
Click to hide internal directories.