kubo/blocks/blocks.go
Juan Batiz-Benet 3b570d3f82 skeleton.
2014-06-26 01:14:26 -07:00

15 lines
292 B
Go

package blocks
import (
"github.com/jbenet/go-ipfs/bitswap"
"github.com/jbenet/go-ipfs/storage"
)
// Blocks is the ipfs blocks service. It is the way
// to retrieve blocks by the higher level ipfs modules
type BlockService struct {
Local *storage.Storage
Remote *bitswap.BitSwap
}