Crate sentinel_tower

Source
Expand description

This crate provides the Sentinel middleware for Tower.
See the examples for help. [http]: https://docs.rs/http

Structs§

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.

Type Aliases§

BoxError