summaryrefslogtreecommitdiffstats
path: root/ipfs-api/src/request/dht.rs
diff options
context:
space:
mode:
authorSimon Heath <icefoxen@gmail.com>2017-12-11 13:30:53 -0500
committerSimon Heath <icefoxen@gmail.com>2017-12-11 13:30:53 -0500
commit45077f90db50fbcb4d13e94b2ee336bf06222b88 (patch)
treea8126aaa8e6ef259b6551ac08182bfb9602ca932 /ipfs-api/src/request/dht.rs
parentc58f396845ee421fc818ed8999103b241b495f1c (diff)
Uppercased path->PATH in constants.
Diffstat (limited to 'ipfs-api/src/request/dht.rs')
-rw-r--r--ipfs-api/src/request/dht.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/ipfs-api/src/request/dht.rs b/ipfs-api/src/request/dht.rs
index ec3239a..7630df3 100644
--- a/ipfs-api/src/request/dht.rs
+++ b/ipfs-api/src/request/dht.rs
@@ -16,7 +16,7 @@ pub struct DhtFindPeer<'a> {
}
impl<'a> ApiRequest for DhtFindPeer<'a> {
- const path: &'static str = "/dht/findpeer";
+ const PATH: &'static str = "/dht/findpeer";
}
@@ -27,7 +27,7 @@ pub struct DhtFindProvs<'a> {
}
impl<'a> ApiRequest for DhtFindProvs<'a> {
- const path: &'static str = "/dht/findprovs";
+ const PATH: &'static str = "/dht/findprovs";
}
@@ -38,7 +38,7 @@ pub struct DhtGet<'a> {
}
impl<'a> ApiRequest for DhtGet<'a> {
- const path: &'static str = "/dht/get";
+ const PATH: &'static str = "/dht/get";
}
@@ -49,7 +49,7 @@ pub struct DhtProvide<'a> {
}
impl<'a> ApiRequest for DhtProvide<'a> {
- const path: &'static str = "/dht/provide";
+ const PATH: &'static str = "/dht/provide";
}
@@ -63,7 +63,7 @@ pub struct DhtPut<'a> {
}
impl<'a> ApiRequest for DhtPut<'a> {
- const path: &'static str = "/dht/put";
+ const PATH: &'static str = "/dht/put";
}
@@ -74,5 +74,5 @@ pub struct DhtQuery<'a> {
}
impl<'a> ApiRequest for DhtQuery<'a> {
- const path: &'static str = "/dht/query";
+ const PATH: &'static str = "/dht/query";
}