Commit d53886a
refactor: rename ContentRouter to DelegatedRouter
- introduce DelegatedRouter interface for delegated routing operations
- keep ContentRouter as deprecated alias for backward compatibility
- update internal server struct to use DelegatedRouter
- clarify interface focuses on querying with IPNS publishing support
- note that additional publishing methods may be added via IPIP process
this better aligns with the Delegated Routing V1 HTTP API spec
and clarifies that this interface handles all routing operations
(content, peers, values, DHT), not just content routing1 parent 384effb commit d53886a
2 files changed
+14
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
66 | 73 | | |
67 | 74 | | |
68 | 75 | | |
| |||
94 | 101 | | |
95 | 102 | | |
96 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
97 | 108 | | |
98 | 109 | | |
99 | 110 | | |
| |||
205 | 216 | | |
206 | 217 | | |
207 | 218 | | |
208 | | - | |
| 219 | + | |
209 | 220 | | |
210 | 221 | | |
211 | 222 | | |
| |||
0 commit comments