daemon.go 310 Bytes
Newer Older
1 2 3
package plugin

import (
Jakub Sztandera's avatar
Jakub Sztandera committed
4
	coreiface "github.com/ipfs/interface-go-ipfs-core"
5 6 7 8 9 10 11 12 13
)

// 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
}