overflow_probes/service/SensorService.go
crusader 14c4949480 ing
2017-12-08 21:01:38 +09:00

37 lines
674 B
Go

package service
import (
"reflect"
cda "git.loafle.net/commons_go/di/annotation"
cdr "git.loafle.net/commons_go/di/registry"
configM "git.loafle.net/overflow/overflow_commons_go/modules/config/model"
)
func init() {
cdr.RegisterType(reflect.TypeOf((*SensorService)(nil)), &cda.ComponentAnnotation{})
}
type SensorService struct {
}
func (ss *SensorService) Start(id int64) error {
return nil
}
func (ss *SensorService) Stop(id int64) error {
return nil
}
func (ss *SensorService) Add(config *configM.Config) error {
return nil
}
func (ss *SensorService) Remove(id int64) error {
return nil
}
func (ss *SensorService) Update(id int64) error {
return nil
}