]>
git.proxmox.com Git - proxmox-backup.git/blob - src/api2/config.rs
a6fef19ae1e4357dfb261f9d073139d034f27162
1 use proxmox
::api
::router
::{Router, SubdirMap}
;
2 use proxmox
::api
::list_subdirs_api_method
;
7 const SUBDIRS
: SubdirMap
= &[
8 ("datastore", &datastore
::ROUTER
),
9 ("remote", &remote
::ROUTER
),
12 pub const ROUTER
: Router
= Router
::new()
13 .get(&list_subdirs_api_method
!(SUBDIRS
))