Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CounterWriter ¶
type CounterWriter struct {
// contains filtered or unexported fields
}
func Counter ¶
func Counter(writer io.Writer) *CounterWriter
func ProgressCounter ¶
func ProgressCounter(onWrite WriteCallback, writer io.Writer) *CounterWriter
func (*CounterWriter) Close ¶
func (w *CounterWriter) Close() error
func (*CounterWriter) Count ¶
func (w *CounterWriter) Count() int64
type WriteCallback ¶
type WriteCallback func(count int64)
Click to show internal directories.
Click to hide internal directories.