sampler-fork/data/consumer.go

12 lines
137 B
Go

package data
type Consumer interface {
ConsumeSample(sample Sample)
}
type Sample struct {
Label string
Value string
Error error
}