Documentation ¶
Index ¶
Constants ¶
View Source
const OutputTypeStdout = "stdout"
Variables ¶
View Source
var AvailableOutputServices = make(map[string]ReportService)
Functions ¶
This section is empty.
Types ¶
type ReportService ¶
type ReportService interface { DoneChan() <-chan struct{} Init() error Start(input chan *types.Response) Report() }
ReportService is the interface that abstracts different report implementations.
func NewReportService ¶
func NewReportService(s string) (service ReportService, err error)
NewReportService is the factory method of the ReportService.
Click to show internal directories.
Click to hide internal directories.