1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-15 20:01:44 +08:00
Files
kubo/plugin/ipld.go
Steven Allen f9d935b984 rename import of go-ipld-format from node/format to ipld
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-29 11:55:34 -08:00

17 lines
402 B
Go

package plugin
import (
"github.com/ipfs/go-ipfs/core/coredag"
ipld "gx/ipfs/Qme5bWv7wtjUNGsK2BNGVUFPKiuxWrsqrtvYwCLRw8YFES/go-ipld-format"
)
// PluginIPLD is an interface that can be implemented to add handlers for
// for different IPLD formats
type PluginIPLD interface {
Plugin
RegisterBlockDecoders(dec ipld.BlockDecoder) error
RegisterInputEncParsers(iec coredag.InputEncParsers) error
}