Install golang-github-paulbellamy-ratecounter-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-github-paulbellamy-ratecounter-dev
Description:
thread-safe RateCounter implementation in Golang
Package ratecounter provides a thread-safe rate-counter, for tracking counts in an interval. Useful for implementing counters and stats of 'requests-per-second' (for example).
Homepage: https://github.com/paulbellamy/ratecounter
Version: 0.2.0-4
Section: universe/devel