1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-10-12 01:06:38 +08:00
Files
kubo/plugin/ipld.go
Steven Allen 2450ddde81 gx: update go-cid
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-15 08:30:22 -07:00

17 lines
402 B
Go

package plugin
import (
"github.com/ipfs/go-ipfs/core/coredag"
ipld "gx/ipfs/QmaA8GkXUYinkkndvg7T6Tx7gYXemhxjaxLisEPes7Rf1P/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
}