throttle

package
v0.0.0-...-8f9ebe2 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Throttler

type Throttler interface {
	Throttle(types.Context) bool
}

Throttler defines interface for throttling

func BasicThrottler

func BasicThrottler(limit int, unit string) Throttler

BasicThrottler creates basic throtlle

Jump to

Keyboard shortcuts

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