Skip to main content

Module routes

Module routes 

Source
Expand description

What a container agent is told when it calls a route it may not. Which routes those are is in route_audience (a route srv serves is for everyone unless an entry there says otherwise; a path that is neither is refused), so there is one list to read. This module is the container listener’s view of it. served says whether srv serves a route at a path; srv answers it from its route table.

Functions§

refusal
Why a container agent may not call path, or None when it may.
refusal_message
What a refused container agent is told: the reason, in a sentence of its own. A path with no audience is logged, so it gets one.