Permalink
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 295 Bytes
package canary
import "github.com/canaryio/canary/pkg/sensor"
// Publisher is the interface that adds the Publish method.
//
// Publish takes a Target, and Sample, and an error, and is
// expected to deliver that data somewhere.
type Publisher interface {
Publish(sensor.Measurement) error
}