mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
fix compatibility issue with js-ipfs License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
15 lines
364 B
Go
15 lines
364 B
Go
package plugin
|
|
|
|
import (
|
|
coreiface "gx/ipfs/QmVSbopkxvLSRFuUn1SeHoEcArhCLn2okUbVpLvhQ1pm1X/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
|
|
}
|