summaryrefslogtreecommitdiffstats
path: root/plugin/supervisor.go
blob: 5ddf5f169576b949d0cde3559fa2bba7fa5d75eb (plain)
1
2
3
4
5
6
7
8
package plugin

// Supervisor provides the interface for an object that controls the execution of a plugin.
type Supervisor interface {
	Start() error
	Stop() error
	Hooks() Hooks
}