ipld-eth-server/vendor/github.com/ipfs/go-ipfs/plugin/daemon.go
2019-12-02 13:24:51 -06:00

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
}