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 }