Skip to main content

sync_router

Function sync_router 

Source
pub fn sync_router(current: Arc<Current>, router: Router) -> Router
Expand description

Add sync.enable, sync.disable, sync.map and sync.status to router.

current must have a sync runtime: a server without one does not serve sync.*.