mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-22 02:47:48 +08:00
15 lines
292 B
Go
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
|
|
}
|