15 lines
292 B
Go
15 lines
292 B
Go
package plugin
|
|
|
|
import (
|
|
"github.com/ipfs/go-ipfs/repo/fsrepo"
|
|
)
|
|
|
|
// PluginDatastore is an interface that can be implemented to add handlers for
|
|
// for different datastores
|
|
type PluginDatastore interface {
|
|
Plugin
|
|
|
|
DatastoreTypeName() string
|
|
DatastoreConfigParser() fsrepo.ConfigFromMap
|
|
}
|