statos

package module
v0.0.0-...-292960a Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2016 License: MIT Imports: 3 Imported by: 26

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadCloserStatos

type ReadCloserStatos struct {
	*ReaderStatos
	// contains filtered or unexported fields
}

func NewReadCloser

func NewReadCloser(rc io.ReadCloser) *ReadCloserStatos

func (*ReadCloserStatos) Close

func (rcs *ReadCloserStatos) Close() error

type ReaderStatos

type ReaderStatos struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewReader

func NewReader(r io.Reader) *ReaderStatos

func (*ReaderStatos) ProgressChan

func (r *ReaderStatos) ProgressChan() chan int

func (*ReaderStatos) Read

func (rs *ReaderStatos) Read(p []byte) (n int, err error)

type WriteCloserStatos

type WriteCloserStatos struct {
	*WriterStatos
	// contains filtered or unexported fields
}

func NewWriteCloser

func NewWriteCloser(wc io.WriteCloser) *WriteCloserStatos

func (*WriteCloserStatos) Close

func (wcs *WriteCloserStatos) Close() error

type WriterStatos

type WriterStatos struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewWriter

func NewWriter(w io.Writer) *WriterStatos

func (*WriterStatos) ProgressChan

func (w *WriterStatos) ProgressChan() chan int

func (*WriterStatos) Write

func (w *WriterStatos) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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