pub fn sync_router(current: Arc<Current>, router: Router) -> Router
Add sync.enable, sync.disable, sync.map and sync.status to router.
sync.enable
sync.disable
sync.map
sync.status
router
current must have a sync runtime: a server without one does not serve sync.*.
current
sync.*