summaryrefslogtreecommitdiffstats
path: root/ipfs-api/src/request/bootstrap.rs
blob: 62fb761b8dd0d4eb1e0169f2f68b5cc06558996a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
use request::ApiRequest;


pub struct BootstrapAddDefault;

impl ApiRequest for BootstrapAddDefault {
    #[inline]
    fn path() -> &'static str {
        "/bootstrap/add/default"
    }
}


pub struct BootstrapList;

impl ApiRequest for BootstrapList {
    #[inline]
    fn path() -> &'static str {
        "/bootstrap/list"
    }
}


pub struct BootstrapRmAll;

impl ApiRequest for BootstrapRmAll {
    #[inline]
    fn path() -> &'static str {
        "/bootstrap/rm/all"
    }
}