coreapi: minor doc fixes

License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>


This commit was moved from ipfs/interface-go-ipfs-core@dba6c1b7a3

This commit was moved from ipfs/boxo@64d53e28ce
This commit is contained in:
Łukasz Magiera 2018-03-10 18:52:10 +01:00
parent cdda2d3e4b
commit 809fb6b34a

View File

@ -8,22 +8,24 @@ import (
ipld "gx/ipfs/Qme5bWv7wtjUNGsK2BNGVUFPKiuxWrsqrtvYwCLRw8YFES/go-ipld-format"
)
// CoreAPI defines an unified interface to IPFS for Go programs.
// CoreAPI defines an unified interface to IPFS for Go programs
type CoreAPI interface {
// Unixfs returns an implementation of Unixfs API.
// Unixfs returns an implementation of Unixfs API
Unixfs() UnixfsAPI
// Block returns an implementation of Block API.
// Block returns an implementation of Block API
Block() BlockAPI
// Dag returns an implementation of Dag API.
// Dag returns an implementation of Dag API
Dag() DagAPI
// Name returns an implementation of Name API.
// Name returns an implementation of Name API
Name() NameAPI
// Key returns an implementation of Key API.
// Key returns an implementation of Key API
Key() KeyAPI
// Pin returns an implementation of Pin API
Pin() PinAPI
// ObjectAPI returns an implementation of Object API