randsource

package module
v0.0.0-...-3f6d22f Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2019 License: MIT Imports: 1 Imported by: 1

README

randsource

Build Status GoDoc MIT licensed No Maintenance Intended

randsource is a small Go library that provides an io.Reader that returns random data

It is developed for internal use, I don't intend to take pull requests.

It contains:

  • ewma: an exponential weighted moving average
  • united: formatting routines for bytes
  • state: a set of callbacks for log messages & progresses
  • probar: a CLI progress bar
  • counter: counting wrappers for io.Reader and io.Writer
  • tracker: a speed/ETA estimator for task progress

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader struct {
	rand.Source
}

Reader reads from rand.Source optimizedly

func (Reader) Read

func (rr Reader) Read(sink []byte) (int, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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