pub fn layer(app: Router, ctx: Arc<Ctx>, state: Shared) -> RouterExpand description
Wrap the API router for shared mode: /v1/ready, the shared fields of
/v1/health, fresh definitions, and replies for signals and cancels that
were forwarded to another node.