|
1
|
package plugin |
|
2
|
|
|
3
|
import ( |
|
4
|
multicodec "github.com/ipld/go-ipld-prime/multicodec" |
|
5
|
) |
|
6
|
|
|
7
|
// PluginIPLD is an interface that can be implemented to add handlers for |
|
8
|
// for different IPLD codecs. |
|
9
|
type PluginIPLD interface { |
|
10
|
Plugin |
|
11
|
|
|
12
|
Register(multicodec.Registry) error |
|
13
|
} |