Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func NewStore ¶
func NewStore( alarmsSendDuration time.Duration, getParameterValue func(name string, unit parameterunit.ParameterUnit) float64, ) *Store
NewStore creates a new parameter limit store
func (*Store) Add ¶
func (pls *Store) Add(name string, unit parameterunit.ParameterUnit, minLimit, maxLimit float64, logFormat string)
Add adds a new parameter with given attributes to the store
func (*Store) AlarmPending ¶
AlarmPending returns whether an alarm currently exists
Click to show internal directories.
Click to hide internal directories.