File tree 1 file changed +14
-1
lines changed
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ Package coreapi provides direct access to the core commands in IPFS. If you are
3
+ embedding IPFS directly in your Go program, this package is the public
4
+ interface you should use to read and write files or otherwise control IPFS.
5
+
6
+ If you are running IPFS as a separate process, you should use `go-ipfs-api` to
7
+ work with it via HTTP. As we finalize the interfaces here, `go-ipfs-api` will
8
+ transparently adopt them so you can use the same code with either package.
9
+
10
+ **NOTE: this package is experimental.** `go-ipfs` has mainly been developed
11
+ as a standalone application and library-style use of this package is still new.
12
+ Interfaces here aren't yet completely stable.
13
+ */
1
14
package coreapi
2
15
3
16
import (
@@ -49,7 +62,7 @@ func (api *CoreAPI) Key() coreiface.KeyAPI {
49
62
return (* KeyAPI )(api )
50
63
}
51
64
52
- //Object returns the ObjectAPI interface implementation backed by the go-ipfs node
65
+ // Object returns the ObjectAPI interface implementation backed by the go-ipfs node
53
66
func (api * CoreAPI ) Object () coreiface.ObjectAPI {
54
67
return (* ObjectAPI )(api )
55
68
}
You can’t perform that action at this time.
0 commit comments