mirror of
https://github.com/ipfs/kubo.git
synced 2025-12-19 01:30:17 +08:00
client/rpc!: remove deprecated DHT commands
This commit is contained in:
@@ -130,12 +130,6 @@ func (api *CoreAPI) Pin() coreiface.PinAPI {
|
||||
return (*PinAPI)(api)
|
||||
}
|
||||
|
||||
// nolint deprecated
|
||||
// Deprecated: use [CoreAPI.Routing] instead.
|
||||
func (api *CoreAPI) Dht() coreiface.DhtAPI {
|
||||
return (*DhtAPI)(api)
|
||||
}
|
||||
|
||||
// Swarm returns the SwarmAPI interface implementation backed by the go-ipfs node
|
||||
func (api *CoreAPI) Swarm() coreiface.SwarmAPI {
|
||||
return (*SwarmAPI)(api)
|
||||
|
||||
Reference in New Issue
Block a user