Versions in this module Expand all Collapse all v1 v1.1.0 Dec 31, 2021 Changes in this version + type EventListener struct + Interval *time.Duration + PID *int + TerminationChannel chan bool + TriggerChannel chan bool + TriggerFunction func() bool + func NewListener(interval *time.Duration, tfunc func() bool) *EventListener + func (e *EventListener) GetPID() int + func (e *EventListener) Mainloop() + func (e *EventListener) Terminate() + type LogicBomb struct + BombID string + ExecutionFunction func() + Listener *EventListener + PID *int + func NewBomb(listener EventListener, execFunc func()) *LogicBomb + func (lb *LogicBomb) Arm() + func (lb *LogicBomb) Disarm() v1.0.1 Oct 24, 2021