mirror of
https://github.com/ipfs/kubo.git
synced 2025-08-06 11:31:54 +08:00
14 lines
302 B
Go
14 lines
302 B
Go
package plugin
|
|
|
|
import (
|
|
coreiface "github.com/ipfs/boxo/coreiface"
|
|
)
|
|
|
|
// 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
|
|
}
|