Versions in this module Expand all Collapse all v0 v0.2.1 Sep 7, 2021 v0.2.0 Sep 6, 2021 Changes in this version + type Node struct + func CreateNode(repoPath string, args NodeConfArgs) (node *Node, err error) + func (n *Node) Add(path string, onlyHash bool) (cid string, err error) + func (n *Node) FindProvs(hash string, maxPeers int) (replications int, err error) + func (n *Node) Get(hash string) (files.File, error) + func (n *Node) Pin(hash string) error + type NodeConfArgs struct + BootstrapPeers []string + SwarmKey string