routes

Function routes 

Source
fn routes(
    gateway: Arc<Gateway>,
    task_group: TaskGroup,
    handlers: &mut Handlers,
) -> Router
Expand description

Gateway Webserver Routes. The gateway supports two types of routes

  • Always Authenticated: these routes always require a Bearer token. Used by gateway administrators.
  • Un-authenticated: anyone can request these routes. Used by fedimint clients.