File tree Expand file tree Collapse file tree 7 files changed +5
-108
lines changed
Expand file tree Collapse file tree 7 files changed +5
-108
lines changed Original file line number Diff line number Diff line change @@ -227,12 +227,6 @@ func (api *HttpApi) Object() iface.ObjectAPI {
227227 return (* ObjectAPI )(api )
228228}
229229
230- // nolint deprecated
231- // Deprecated: use [HttpApi.Routing] instead.
232- func (api * HttpApi ) Dht () iface.DhtAPI {
233- return (* DhtAPI )(api )
234- }
235-
236230func (api * HttpApi ) Swarm () iface.SwarmAPI {
237231 return (* SwarmAPI )(api )
238232}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -130,12 +130,6 @@ func (api *CoreAPI) Pin() coreiface.PinAPI {
130130 return (* PinAPI )(api )
131131}
132132
133- // nolint deprecated
134- // Deprecated: use [CoreAPI.Routing] instead.
135- func (api * CoreAPI ) Dht () coreiface.DhtAPI {
136- return (* DhtAPI )(api )
137- }
138-
139133// Swarm returns the SwarmAPI interface implementation backed by the go-ipfs node
140134func (api * CoreAPI ) Swarm () coreiface.SwarmAPI {
141135 return (* SwarmAPI )(api )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -34,10 +34,6 @@ type CoreAPI interface {
3434 // Object returns an implementation of Object API
3535 Object () ObjectAPI
3636
37- // nolint deprecated
38- // Deprecated: use [Routing] instead.
39- Dht () DhtAPI
40-
4137 // Swarm returns an implementation of Swarm API
4238 Swarm () SwarmAPI
4339
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 66
77- [ Overview] ( #overview )
88- [ 🔦 Highlights] ( #-highlights )
9+ - [ RPC client: removed deprecated DHT API] ( #rpc-client-removed-deprecated-dht-api )
910- [ 📝 Changelog] ( #-changelog )
1011- [ 👨👩👧👦 Contributors] ( #-contributors )
1112
1213### Overview
1314
1415### 🔦 Highlights
1516
17+ #### RPC client: removed deprecated DHT API
18+
19+ The deprecated DHT API commands in the RPC client have been removed. Instead, use the Routing API.
20+
1621### 📝 Changelog
1722
1823### 👨👩👧👦 Contributors
You can’t perform that action at this time.
0 commit comments