Module extension

Module extension 

Source
Expand description

extensions for request and response

Modules§

user_group

Structs§

BackendHost
Defer
It’s a hole, don’t abuse it pls.
EnterTime
the time when request enter service
Extension
Just extract and attach the extension to the request
FromBackend
FromBackend is a marker type to indicate that the response is from backend.
GatewayName
IsEastWestTraffic
Matched
MatchedSgRouter
OriginalIpAddr
Extract original ip address from request
PeerAddr
Reflect
Reflect is a wrapper around hyper::http::Extensions