Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CountReader ¶
type CountReader struct {
// contains filtered or unexported fields
}
func NewCountReader ¶
func NewCountReader(r io.Reader, p *atomic2.Int64) *CountReader
func (*CountReader) Count ¶
func (r *CountReader) Count() int64
func (*CountReader) ResetCounter ¶
func (r *CountReader) ResetCounter() int64
type CountWriter ¶
type CountWriter struct {
// contains filtered or unexported fields
}
func NewCountWriter ¶
func NewCountWriter(w io.Writer, p *atomic2.Int64) *CountWriter
func (*CountWriter) Count ¶
func (w *CountWriter) Count() int64
func (*CountWriter) ResetCounter ¶
func (w *CountWriter) ResetCounter() int64
Click to show internal directories.
Click to hide internal directories.