Crates.io | sentinel-tonic |
lib.rs | sentinel-tonic |
version | 0.1.0 |
source | src |
created_at | 2022-11-29 09:39:51.380998 |
updated_at | 2022-11-29 09:39:51.380998 |
description | Sentinel middleware for Tonic |
homepage | https://sentinelguard.io/en-us/ |
repository | https://github.com/sentinel-group/sentinel-rust/tree/main/middleware/tonic |
max_upload_size | |
id | 725251 |
size | 5,180 |
Implement Sentinel as a service in Tower.
In the example
directory, we provide an example for tonic.
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.