mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
This allows users to run multiple go-ipfs "clients" in-process. License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
15 lines
333 B
Go
15 lines
333 B
Go
package plugin
|
|
|
|
import (
|
|
coreiface "github.com/ipfs/go-ipfs/core/coreapi/interface"
|
|
)
|
|
|
|
// 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
|
|
}
|