overflow_probes/collector/collector.go
crusader fa3eb473fb ing
2017-10-13 14:32:34 +09:00

36 lines
530 B
Go

package collector
type Collector interface {
StartSensor() error
StopSensor() error
AddSensor() error
RemoveSensor() error
UpdateSensor() error
}
type collector struct {
}
func New() (Collector, error) {
c := &collector{}
return c, nil
}
func (c *collector) StartSensor() error {
return nil
}
func (c *collector) StopSensor() error {
return nil
}
func (c *collector) AddSensor() error {
return nil
}
func (c *collector) RemoveSensor() error {
return nil
}
func (c *collector) UpdateSensor() error {
return nil
}