internal

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecWithProgress added in v0.0.9

func ExecWithProgress(msgProgress, msgPrefix string, out io.Writer, f ProgressWriterFunc) error

Types

type HashQueue added in v0.1.0

type HashQueue struct {
	Size int
	// contains filtered or unexported fields
}

func NewHashQueue added in v0.1.0

func NewHashQueue(size int) *HashQueue

func (*HashQueue) PutIfAbsent added in v0.1.0

func (q *HashQueue) PutIfAbsent(value string) bool

type ProgressWriter

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

func NewProgress

func NewProgress(msgProgress, msgPrefix string, out io.Writer) *ProgressWriter

func (*ProgressWriter) Fail

func (s *ProgressWriter) Fail(err error)

func (*ProgressWriter) Start

func (s *ProgressWriter) Start()

func (*ProgressWriter) Stop

func (s *ProgressWriter) Stop()

type ProgressWriterFunc added in v0.0.9

type ProgressWriterFunc func(chan bool, chan error)

Jump to

Keyboard shortcuts

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