sentinel-tonic

Crates.iosentinel-tonic
lib.rssentinel-tonic
version0.1.0
sourcesrc
created_at2022-11-29 09:39:51.380998
updated_at2022-11-29 09:39:51.380998
descriptionSentinel middleware for Tonic
homepagehttps://sentinelguard.io/en-us/
repositoryhttps://github.com/sentinel-group/sentinel-rust/tree/main/middleware/tonic
max_upload_size
id725251
size5,180
Peihao Yang (Forsworns)

documentation

https://docs.rs/sentinel-tonic/latest

README

Sentinel in Tower

Implement Sentinel as a service in Tower.

In the example directory, we provide an example for tonic.

Why Setinel?

Though tonic::transport::channel::Endpoint does provide methods like rate_limit() to construct middleware like tower::limit::rate::RateLimitLayer(), Sentinel provides more general and flexible high-reliability services.

And Sentinel will be the default traffic governance implentation for the OpenSergo standard.

Commit count: 121

cargo fmt