Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Reader ¶ added in v1.86.0
type Reader struct {
// contains filtered or unexported fields
}
Reader is a reader, which increases the concurrency after the first Read() call
The concurrency can be reduced by calling DecConcurrency(). Then the concurrency is increased after the next Read() call.
func GetReader ¶ added in v1.86.0
GetReader returns the Reader for r.
The PutReader() must be called when the returned Reader is no longer needed.
func (*Reader) DecConcurrency ¶ added in v1.86.0
func (r *Reader) DecConcurrency()
DecConcurrency decreases the concurrency, so it could be increased again after the next Read() call.
Click to show internal directories.
Click to hide internal directories.