From 02c22405a59029e733052b0ad8222c1011bc84d6 Mon Sep 17 00:00:00 2001 From: Daniel Gregoire Date: Mon, 4 Nov 2024 20:27:00 -0500 Subject: [PATCH] Document ratelimit.* functions --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 100013f..7bbc717 100644 --- a/README.md +++ b/README.md @@ -55,9 +55,10 @@ Flags: - `help` based on Goal's, but allows adding help strings when used dyadically (e.g.,`"sql.q"help"Run SQL query"`) - New Goal functions: - `http.` functions for HTTP requests using [Resty] + - `ratelimit.new` and `ratelimit.take` for rate limiting (leaky bucket algorithm) using [uber-go/ratelimit] - `sql.` functions for SQL queries and commands + - Table-related `csv.tbl` and `json.tbl` to make Goal tables from the output of `csv` and `json` respectively - `tt.` test framework - - `csv.tbl` and `json.tbl` to make Goal tables from the output of `csv` and `json` respectively - `time.` functions for more extensive date/time handling - `tui.` functions for basic terminal UI styling (colors, padding/margin, borders) - Dedicated SQL mode @@ -194,3 +195,4 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. [Goal]: https://codeberg.org/anaseto/goal [Resty]: https://github.com/go-resty/resty +[uber-go/ratelimit]: https://github.com/uber-go/ratelimit