Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCountingReader ¶
func NewCountingReader(reader io.Reader, count *int64) io.ReadCloser
NewCountingReader wraps the given reader in a reader that ensures the given count variable is atomically updated whenever data is read.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.