eq_pump

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Duration of sleep when the bundle is empty.
	PollInterval = 50 * time.Millisecond
)

Functions

This section is empty.

Types

type Pump

type Pump interface {
	// Start the pump.
	Start() chan eq_bundle.Barrel

	// Wait & close the pump
	Close()

	// Stop the pump
	Shutdown()
}

func New

func New(l esl.Logger, bundle eq_bundle.Bundle) Pump

Jump to

Keyboard shortcuts

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