10 lines
313 B
Go
10 lines
313 B
Go
package plugininterface
|
|
|
|
import "jonasled.dev/firehouse-smokedetection/plugin-interface/types"
|
|
|
|
type PluginConfig interface {
|
|
GetConfig(id uint) types.AlarmConfig
|
|
SetConfig(config types.AlarmConfig) error
|
|
DeleteConfig(config types.AlarmConfig) error
|
|
ListConfig(filter types.AlarmConfig) []types.AlarmConfig
|
|
}
|