diff options
author | Ferris Tseng <ferristseng@fastmail.fm> | 2017-10-09 19:52:07 -0400 |
---|---|---|
committer | Ferris Tseng <ferristseng@fastmail.fm> | 2017-10-09 19:52:07 -0400 |
commit | af3c23b54fb04ba232d0e04642f570e1f5b4cf72 (patch) | |
tree | 9519c06428b0252375e07816c434a6edbec03815 /ipfs-api/src/request/config.rs | |
parent | 861b463306cf2d158b5f3fa5efa20b52bab23287 (diff) |
add some bootstrap and config commands
Diffstat (limited to 'ipfs-api/src/request/config.rs')
-rw-r--r-- | ipfs-api/src/request/config.rs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ipfs-api/src/request/config.rs b/ipfs-api/src/request/config.rs new file mode 100644 index 0000000..2f4a571 --- /dev/null +++ b/ipfs-api/src/request/config.rs @@ -0,0 +1,21 @@ +use request::ApiRequest; + + +pub struct ConfigShow; + +impl ApiRequest for ConfigShow { + #[inline] + fn path() -> &'static str { + "/config/show" + } +} + + +pub struct ConfigEdit; + +impl ApiRequest for ConfigEdit { + #[inline] + fn path() -> &'static str { + "/config/edit" + } +} |