pump

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRateLimitedDrain

func NewRateLimitedDrain(drain ipfsPump.Drain, sleepAfterDrain time.Duration) ipfsPump.CountedDrain

Types

type RateLimitedDrain

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

func (*RateLimitedDrain) Drain

func (d *RateLimitedDrain) Drain(block ipfsPump.Block) error

func (*RateLimitedDrain) SuccessfulBlocksCount

func (d *RateLimitedDrain) SuccessfulBlocksCount() uint64

Jump to

Keyboard shortcuts

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