1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-06 19:44:01 +08:00

client/rpc: rename package name to match rpc and edit migration story

This commit is contained in:
Jorropo
2023-05-31 14:29:59 +02:00
parent 4019d94fef
commit 12f343d837
23 changed files with 27 additions and 26 deletions

View File

@ -1,4 +1,4 @@
# `httpapi`
# `coreiface.CoreAPI` over http `rpc`
> IPFS CoreAPI implementation using HTTP API
@ -19,13 +19,13 @@ import (
"context"
"fmt"
ipfsClient "github.com/ipfs/kubo/client/rpc"
"github.com/ipfs/kubo/client/rpc"
path "github.com/ipfs/boxo/coreiface/path"
)
func main() {
// "Connect" to local node
node, err := ipfsClient.NewLocalApi()
node, err := rpc.NewLocalApi()
if err != nil {
fmt.Printf(err)
return

View File

@ -1,4 +1,4 @@
package httpapi
package rpc
import (
"errors"

View File

@ -1,4 +1,4 @@
package httpapi
package rpc
import (
"context"

View File

@ -1,4 +1,4 @@
package httpapi
package rpc
import (
"context"

View File

@ -1,4 +1,4 @@
package httpapi
package rpc
import (
"bytes"

View File

@ -1,4 +1,4 @@
package httpapi
package rpc
import (
"bytes"

View File

@ -1,4 +1,4 @@
package httpapi
package rpc
import (
"context"

View File

@ -1,4 +1,4 @@
package httpapi
package rpc
import (
"errors"

View File

@ -1,4 +1,4 @@
package httpapi
package rpc
import (
"errors"

View File

@ -1,4 +1,4 @@
package httpapi
package rpc
import (
"context"

View File

@ -1,4 +1,4 @@
package httpapi
package rpc
import (
"context"

View File

@ -1,4 +1,4 @@
package httpapi
package rpc
import (
"bytes"

View File

@ -1,4 +1,4 @@
package httpapi
package rpc
import (
"context"

View File

@ -1,4 +1,4 @@
package httpapi
package rpc
import (
"context"

View File

@ -1,4 +1,4 @@
package httpapi
package rpc
import (
"bytes"

View File

@ -1,4 +1,4 @@
package httpapi
package rpc
import (
"context"

View File

@ -1,4 +1,4 @@
package httpapi
package rpc
import (
"bytes"

View File

@ -1,4 +1,4 @@
package httpapi
package rpc
import (
"encoding/json"

View File

@ -1,4 +1,4 @@
package httpapi
package rpc
import (
"bytes"

View File

@ -1,4 +1,4 @@
package httpapi
package rpc
import (
"context"

View File

@ -1,4 +1,4 @@
package httpapi
package rpc
import (
"context"