sampler-fork/data/consumer.go

12 lines
137 B
Go
Raw Normal View History

2019-01-31 00:02:38 +00:00
package data
type Consumer interface {
2019-02-03 03:30:45 +00:00
ConsumeSample(sample Sample)
}
type Sample struct {
Label string
Value string
Error error
2019-01-31 00:02:38 +00:00
}