File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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+ */
114package coreapi
215
316import (
@@ -49,7 +62,7 @@ func (api *CoreAPI) Key() coreiface.KeyAPI {
4962 return (* KeyAPI )(api )
5063}
5164
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
5366func (api * CoreAPI ) Object () coreiface.ObjectAPI {
5467 return (* ObjectAPI )(api )
5568}
You can’t perform that action at this time.
0 commit comments