mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-24 11:57:44 +08:00
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:
parent
cdda2d3e4b
commit
809fb6b34a
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user