mirror of
https://github.com/ipfs/kubo.git
synced 2025-08-06 19:44:01 +08:00

Most of the tracers available need to properly close to send the remaining traces before the process exit.
14 lines
310 B
Go
14 lines
310 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
|
|
}
|