meter

package
v1.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader struct {
	// contains filtered or unexported fields
}

func NewReader

func NewReader(r io.ReadCloser) *Reader

func (*Reader) Close

func (r *Reader) Close() error

func (*Reader) Delta

func (r *Reader) Delta() int64

func (*Reader) Read

func (r *Reader) Read(b []byte) (int, error)

func (*Reader) Total

func (r *Reader) Total() int64

type Writer

type Writer struct {
	// contains filtered or unexported fields
}

func NewWriter

func NewWriter(w io.Writer) *Writer

func (*Writer) Delta

func (w *Writer) Delta() int64

func (*Writer) Total

func (w *Writer) Total() int64

func (*Writer) Write

func (w *Writer) Write(b []byte) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL