ratelimiter
shine
ratelimiter | shine | |
---|---|---|
3 | 2 | |
238 | 1 | |
- | - | |
0.0 | 5.7 | |
over 1 year ago | 3 months ago | |
Go | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ratelimiter
shine
-
Safety in Go
I created https://github.com/its-felix/shine for fun (implementation of both Option[T] and Result[T] inspired by rust), but without rusts pattern matching and limitations when switching type arguments in go, it turned out to be really cumbersome. I don’t use it myself for that reason - was fun to write though
-
How to define a generic Result type that either contains a value or an error?
If you’re looking for something like rust, I’ve built this: https://github.com/its-felix/shine
What are some alternatives?
gin-rate-limit - A rate limiter for the gin web framework
gosec - Go security checker
slidingwindow - Golang implementation of Sliding Window Algorithm for distributed rate limiting.
errors - A drop-in replacement for Go errors, with some added sugar! Unwrap user-friendly messages, HTTP status code, easy wrapping with multiple error types.
go-mailform - A small library to send physical mail from your Go applications using https://mailform.io
discordgateway - A discord gateway module that separates Discord logic from the websocket logic
clfu - Implementation of Constant Time LFU (least frequently used) cache in Go with concurrency safety.
depu - A tool to check available updates of packages in go.mod.
valet - Job queuing service and async task runner.
ratelimiter - Simple rate limiter for any resources
lumber - 🪵 A dead simple, pretty, and feature-rich logger for golang