commons-go/service/container/SensorConfigService.go

11 lines
346 B
Go
Raw Permalink Normal View History

2018-04-26 07:37:59 +00:00
package container
import "git.loafle.net/overflow/commons-go/model/sensorconfig"
type SensorConfigService interface {
InitConfig(sensorConfigs []*sensorconfig.SensorConfig) error
AddConfig(sensorConfig *sensorconfig.SensorConfig) error
UpdateConfig(sensorConfig *sensorconfig.SensorConfig) error
RemoveConfig(sensorConfigID string) error
}