Documentation ¶
Index ¶
- type IPFSNode
- func (I *IPFSNode) Add(ctx context.Context, reader io.Reader, info *store.Info) (string, error)
- func (I *IPFSNode) AddDir(ctx context.Context, dir string, info *store.Info) (string, error)
- func (I *IPFSNode) AddrInfo() *peer.AddrInfo
- func (I *IPFSNode) Bootstrap(peers []peer.AddrInfo)
- func (I *IPFSNode) Connect(info peer.AddrInfo) error
- func (I *IPFSNode) Delete(ctx context.Context, tag string) error
- func (I *IPFSNode) Get(ctx context.Context, tag string) (io.ReadSeekCloser, *store.Info, error)
- func (I *IPFSNode) GetPrivKey() crypto.PrivKey
- func (I *IPFSNode) GetPubKey(id peer.ID) crypto.PubKey
- func (I *IPFSNode) GroupAdd(ctx context.Context, reader io.Reader, info *store.Info, groupIDString string) (string, error)
- func (I *IPFSNode) GroupAddDir(ctx context.Context, dir string, info *store.Info, groupIDString string) (string, error)
- func (I *IPFSNode) IsOnline() bool
- func (I *IPFSNode) IsPeerConnected(id string) bool
- func (I *IPFSNode) NetworkNotifiee(n network.Notifiee)
- func (I *IPFSNode) NewFloodsubWithProtocols(ps []protocol.ID, opts ...pubsub.Option) (*pubsub.PubSub, error)
- func (I *IPFSNode) Peers() []string
- func (I *IPFSNode) ReplManager() *replication.Manager
- func (I *IPFSNode) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPFSNode ¶
type IPFSNode struct {
// contains filtered or unexported fields
}
func (*IPFSNode) GetPrivKey ¶ added in v0.0.16
func (*IPFSNode) GroupAddDir ¶ added in v0.0.16
func (*IPFSNode) IsPeerConnected ¶
func (*IPFSNode) NetworkNotifiee ¶
func (*IPFSNode) NewFloodsubWithProtocols ¶
func (*IPFSNode) ReplManager ¶
func (I *IPFSNode) ReplManager() *replication.Manager
Click to show internal directories.
Click to hide internal directories.