ipld-eth-server/vendor/github.com/ipfs/go-ipfs/plugin/ipld.go
Elizabeth Engelman 36533f7c3f Update vendor directory and make necessary code changes
Fixes for new geth version
2019-09-25 16:32:27 -05:00

17 lines
363 B
Go

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