This repository has been archived on 2026-11-17. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
plugin-interface/pluginConfig.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
}