Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMessage ¶
func NewMessage(alarm bool) interface{}
NewMessage creates a new alarm state update message
Types ¶
type Alarm ¶
type Alarm struct {
// contains filtered or unexported fields
}
Alarm is the component that manage the external alarm
func (*Alarm) SetInputChan ¶
func (d *Alarm) SetInputChan(c chan interface{})
SetInputChan sets the channel where the alarm updates are sent
func (*Alarm) SetPanicChan ¶
func (d *Alarm) SetPanicChan(c chan interface{})
SetPanicChan sets the channel where this component will send the panics
Click to show internal directories.
Click to hide internal directories.