mirror of
https://github.com/ipfs/kubo.git
synced 2025-05-17 06:57:40 +08:00
15 lines
440 B
Go
15 lines
440 B
Go
package plugin
|
|
|
|
import "github.com/ipfs/kubo/core"
|
|
|
|
// PluginDaemonInternal is an interface for daemon plugins. These plugins will be run on
|
|
// the daemon and will be given a direct access to the IpfsNode.
|
|
//
|
|
// Note: PluginDaemonInternal is considered internal and no guarantee is made concerning
|
|
// the stability of its API. If you can, use PluginAPI instead.
|
|
type PluginDaemonInternal interface {
|
|
Plugin
|
|
|
|
Start(*core.IpfsNode) error
|
|
}
|