/ plugin / datastore.go
datastore.go
 1  package plugin
 2  
 3  import (
 4  	"github.com/ipfs/kubo/repo/fsrepo"
 5  )
 6  
 7  // PluginDatastore is an interface that can be implemented to add handlers for
 8  // for different datastores.
 9  type PluginDatastore interface {
10  	Plugin
11  
12  	DatastoreTypeName() string
13  	DatastoreConfigParser() fsrepo.ConfigFromMap
14  }