Expand description
This crate provides the sentinel middleware for tonic. The are two kinds of middlewares in tonic.
SentinelInterceptorbased ontonic::service::interceptor::InterceptorSentinelServiceandSentinelLayerbased ontower::Service
Structs§
- Sentinel
Interceptor - Sentinel
Layer - The
tower::Layerwrapper forSentinelService. - Sentinel
Service - The sentinel middleware service in tower. If you the service request is from http crate, and you are using nightly toolchain, you don’t need to provide a sentinel resource name extractor. The middleware will automatically extract the request uri.
Enums§
- Service
Role - The side where the middleware is deplyed.