pumper

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Default

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

func NewDefault

func NewDefault(lock lock2.Lock, interval time.Duration) *Default

func (*Default) Loop

func (p *Default) Loop(fn func() bool)

func (*Default) Shutdown

func (p *Default) Shutdown()

type Pumper

type Pumper interface {
	Loop(fn func() bool)
	Shutdown()
}

Jump to

Keyboard shortcuts

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