36533f7c3f
Fixes for new geth version
15 lines
325 B
Go
15 lines
325 B
Go
package plugin
|
|
|
|
import (
|
|
coreiface "github.com/ipfs/interface-go-ipfs-core"
|
|
)
|
|
|
|
// PluginDaemon is an interface for daemon plugins. These plugins will be run on
|
|
// the daemon and will be given access to an implementation of the CoreAPI.
|
|
type PluginDaemon interface {
|
|
Plugin
|
|
|
|
Start(coreiface.CoreAPI) error
|
|
Close() error
|
|
}
|