mirror of
https://github.com/ipfs/kubo.git
synced 2025-12-15 22:22:28 +08:00
feat(gateway): IPNS record response format (IPIP-351) (#9399)
* feat(gateway): IPNS record response format * docs(rpc): mark as experimental: routing provide, get, put Co-authored-by: Marcin Rataj <lidel@lidel.org>
This commit is contained in:
@@ -144,6 +144,11 @@ func (api *CoreAPI) PubSub() coreiface.PubSubAPI {
|
||||
return (*PubSubAPI)(api)
|
||||
}
|
||||
|
||||
// Routing returns the RoutingAPI interface implementation backed by the kubo node
|
||||
func (api *CoreAPI) Routing() coreiface.RoutingAPI {
|
||||
return (*RoutingAPI)(api)
|
||||
}
|
||||
|
||||
// WithOptions returns api with global options applied
|
||||
func (api *CoreAPI) WithOptions(opts ...options.ApiOption) (coreiface.CoreAPI, error) {
|
||||
settings := api.parentOpts // make sure to copy
|
||||
|
||||
Reference in New Issue
Block a user