2017-12-19 13:16:39 +01:00

14 lines
257 B
Go

package harvester
import (
uuid "github.com/satori/go.uuid"
)
// Harvester contains all methods which must be supported by each harvester
// so the registry can be used by the prospector.
type Harvester interface {
ID() uuid.UUID
Run() error
Stop()
}