coreapi: minor doc fixes
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com> This commit was moved from ipfs/interface-go-ipfs-core@dba6c1b7a33059613de8019eafb527031e52e61d This commit was moved from ipfs/boxo@64d53e28ce0e428dadef3a318a1f44eb983376e7
Łukasz Magiera committed
Mar 10, 2018 at 18:52 UTC
809fb6b34a9ccb507a7917265227a6941458fe1e
1 file changed
+8
-6
core/coreiface/coreapi.go
+8
-6
@@ -8,22 +8,24 @@ import (
8
ipld "gx/ipfs/Qme5bWv7wtjUNGsK2BNGVUFPKiuxWrsqrtvYwCLRw8YFES/go-ipld-format"
9
)
10
11
-// CoreAPI defines an unified interface to IPFS for Go programs.
11
+// CoreAPI defines an unified interface to IPFS for Go programs
12
type CoreAPI interface {
13
- // Unixfs returns an implementation of Unixfs API.
13
+ // Unixfs returns an implementation of Unixfs API
14
Unixfs() UnixfsAPI
15
16
- // Block returns an implementation of Block API.
16
+ // Block returns an implementation of Block API
17
Block() BlockAPI
18
19
- // Dag returns an implementation of Dag API.
19
+ // Dag returns an implementation of Dag API
20
Dag() DagAPI
21
22
- // Name returns an implementation of Name API.
22
+ // Name returns an implementation of Name API
23
Name() NameAPI
24
25
- // Key returns an implementation of Key API.
25
+ // Key returns an implementation of Key API
26
Key() KeyAPI
27
+
28
+ // Pin returns an implementation of Pin API
29
Pin() PinAPI
30
31
// ObjectAPI returns an implementation of Object API