An open API service indexing awesome lists of open source software.

https://github.com/space-code/throttle

throttle is a handy tool for task throttling
https://github.com/space-code/throttle

golang throttle throttler

Last synced: 12 months ago
JSON representation

throttle is a handy tool for task throttling

Awesome Lists containing this project

README

          

throttle


Liscence
CI

## Description
throttle is a handy tool for task throttling.

- [Usage](#usage)
- [Installation](#installation)
- [Communication](#communication)
- [Contributing](#contributing)
- [Author](#author)
- [License](#license)

## Usage

```go
throttler := throttle.New(2 * time.Second)
throttler.Do(func() {
// your implementation here
})
```

## Installation

```sh
go install github.com/space-code/throttle@latest
```

## Communication
- If you **found a bug**, open an issue.
- If you **have a feature request**, open an issue.
- If you **want to contribute**, submit a pull request.

## Contributing
Bootstrapping development environment

```
make bootstrap
```

Please feel free to help out with this project! If you see something that could be made better or want a new feature, open up an issue or send a Pull Request!

## Author
Nikita Vasilev, nv3212@gmail.com

## License
throttle is available under the MIT license. See the LICENSE file for more info.