Crate sentinel_tonic

Crate sentinel_tonic 

Source
Expand description

This crate provides the sentinel middleware for tonic. The are two kinds of middlewares in tonic.

Structs§

SentinelInterceptor
SentinelLayer
The tower::Layer wrapper for SentinelService.
SentinelService
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§

ServiceRole
The side where the middleware is deplyed.