Crate sentinel_actix

Crate sentinel_actix 

Source
Expand description

This crate provides the sentinel middleware for actix-web. See examples for help.

Structs§

Sentinel
Sentinel wrapper
SentinelMiddleware
Sentinel middleware

Type Aliases§

Extractor
It is used to extractor a resource name from requests for Sentinel. If you the service request is http::Request, 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.
Fallback
The fallback function when service is rejected by sentinel.