mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-19 05:19:35 +00:00
22 lines
388 B
Go
22 lines
388 B
Go
// +build !linux
|
|
|
|
package endpoint
|
|
|
|
import "github.com/weaveworks/scope/report"
|
|
|
|
// Reporter dummy
|
|
type Reporter struct{}
|
|
|
|
// NewReporter makes a dummy
|
|
func NewReporter(conf ReporterConfig) *Reporter {
|
|
return &Reporter{}
|
|
}
|
|
|
|
// Stop dummy
|
|
func (r *Reporter) Stop() {}
|
|
|
|
// Report implements Reporter.
|
|
func (r *Reporter) Report() (report.Report, error) {
|
|
return report.MakeReport(), nil
|
|
}
|