Documentation ¶
Index ¶
- func ManageFdLimit() (changed bool, newLimit uint64, err error)
- type AddEvent
- type BlockStat
- type ConnInfo
- type ConnInfos
- type IdOutput
- type Listener
- type LsInfo
- type LsLink
- type Node
- func (n *Node) Add(paths string, offline bool) (string, error)
- func (n *Node) BlockRm(paths string) error
- func (n *Node) BlockStat(paths string, offline bool) (string, error)
- func (n *Node) Daemon(pid string, pubsub bool) error
- func (n *Node) DhtFindProvs(mcid string, provider Provider, numProviders int, verbose bool, timeout int32) error
- func (n *Node) DhtProvide(mcid string, rec bool, verbose bool, timeout int32) error
- func (n *Node) GetReader(paths string, offline bool) (*Reader, error)
- func (n *Node) GetStream(paths string, stream Stream, offline bool) error
- func (n *Node) Id() (string, error)
- func (n *Node) IdWithTimeout(pid string, timeout int32) (string, error)
- func (n *Node) Init() error
- func (n *Node) IsConnected(pid string) (bool, error)
- func (n *Node) Logs() error
- func (n *Node) Ls(paths string, info LsInfo, timeout int32, offline bool) error
- func (n *Node) ProtectPeer(pid string, tag string) error
- func (n *Node) PubsubPeers(info PubsubPeer) error
- func (n *Node) PubsubPeersWithTopic(info PubsubPeer, topic string) error
- func (n *Node) PubsubPub(topic string, data []byte) error
- func (n *Node) PubsubSub(topic string, discover bool) error
- func (n *Node) RepoGC() error
- func (n *Node) Rm(paths string) error
- func (n *Node) SwarmConnect(addr string, timeout int32) (bool, error)
- func (n *Node) SwarmDisconnect(addr string) (bool, error)
- func (n *Node) SwarmPeer(pid string) (string, error)
- func (n *Node) SwarmPeers() (string, error)
- func (n *Node) UnProtectPeer(pid string, tag string) (bool, error)
- func (n *Node) Version() (string, error)
- type Provider
- type PubsubPeer
- type Reader
- type RefWriter
- type Stream
- type StreamInfo
- type VersionOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ManageFdLimit ¶
ManageFdLimit raise the current max file descriptor count of the process based on the IPFS_FD_MAX value
Types ¶
type LsLink ¶
type LsLink struct {
Name, Hash string
Size uint64
Type unixfs_pb.Data_DataType
Target string
}
LsLink contains printable data for a single ipld link in ls output
type Node ¶
type Node struct { RepoPath string PublicKey string PrivateKey string Running bool Listener Listener API coreiface.CoreAPI Node *core.IpfsNode }
func (*Node) DhtFindProvs ¶
func (*Node) DhtProvide ¶
func (*Node) IdWithTimeout ¶
func (*Node) PubsubPeers ¶
func (n *Node) PubsubPeers(info PubsubPeer) error
func (*Node) PubsubPeersWithTopic ¶
func (n *Node) PubsubPeersWithTopic(info PubsubPeer, topic string) error
func (*Node) SwarmPeers ¶
type PubsubPeer ¶
type PubsubPeer interface {
Peer(peer string)
}
type RefWriter ¶
type StreamInfo ¶
type StreamInfo struct {
Protocol string
}
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package core implements the IpfsNode object and related methods.
|
Package core implements the IpfsNode object and related methods. |
coreapi
Package coreapi provides direct access to the core commands in IPFS.
|
Package coreapi provides direct access to the core commands in IPFS. |
thirdparty
|
|
Click to show internal directories.
Click to hide internal directories.