mirror of
https://github.com/grafana/grafana.git
synced 2025-01-16 11:42:35 -06:00
72ecde5045
make orgID a direct arg of writer interface
15 lines
282 B
Go
15 lines
282 B
Go
package writer
|
|
|
|
import (
|
|
"context"
|
|
"time"
|
|
|
|
"github.com/grafana/grafana-plugin-sdk-go/data"
|
|
)
|
|
|
|
type NoopWriter struct{}
|
|
|
|
func (w NoopWriter) Write(ctx context.Context, name string, t time.Time, frames data.Frames, orgID int64, extraLabels map[string]string) error {
|
|
return nil
|
|
}
|