package
0.0.0-20201201023048-a52a6fd3d10b
Repository: https://github.com/kebohan1/ipfs-cluster.git
Documentation: pkg.go.dev

# Packages

Package adderutils provides some utilities for adding content to cluster.
Package ipfsadd is a simplified copy of go-ipfs/core/coreunix/add.go.
Package sharding implements a sharding ClusterDAGService places content in different shards while it's being added, creating a final Cluster DAG and pinning it.
Package single implements a ClusterDAGService that chunks and adds content to cluster without sharding, before pinning it.

# Functions

BlockAllocate helps allocating blocks to peers.
NewBlockAdder creates a BlockAdder given an rpc client and allocated peers.
Pin helps sending local RPC pin requests.

# Variables

ErrBlockAdder is returned when adding a to multiple destinations block fails on all of them.
ErrDAGNotFound is returned whenever we try to get a block from the DAGService.

# Structs

BaseDAGService partially implements an ipld.DAGService.
BlockAdder implements "github.com/ipfs/go-ipld-format".NodeAdder.