Revision dc2715af68b93611a116b83fca90714e7c5cb50b authored by Adin Schmahmann on 21 July 2021, 16:52:52 UTC, committed by GitHub on 21 July 2021, 16:52:52 UTC
2 parent s 179d1d1 + 3b21fcf
Raw File
ipld.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
}
back to top