Function create_router

Source
pub(crate) fn create_router(
    chan_update_tx: Sender<UpWrap>,
    api_enabled: bool,
) -> Router