Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KuboNode ¶
type KuboNode struct {
// contains filtered or unexported fields
}
KuboNode is an instance of a IPFS Kubo node
func (*KuboNode) ConfigEncodePrivateKey ¶
ConfigEncodePrivateKey returns the node private key encoded
func (*KuboNode) ConfigEncodePublicKey ¶
ConfigEncodePublicKey returns the node public key encoded
type Node ¶
type Node interface { // Connect connects the Node to the IPFS peers Connect(peerInfos []peer.AddrInfo) error // ID returns the node peer ID ID() string // ConfigEncodePrivateKey returns the node private key encoded ConfigEncodePrivateKey() string // ConfigEncodePublicKey returns the node public key encoded ConfigEncodePublicKey() string // CoreAPI returns the Core API of the IPFS node CoreAPI() icore.CoreAPI // Close closes the connections of IPFS node Close() error }
Node is an interface for IPFS node
Click to show internal directories.
Click to hide internal directories.