Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventThread ¶
EventThread is a thread that polls (sadly) for X events, notifying an channel whenever an event occurs, so it may be reacted to.
func NewEventThread ¶
func NewEventThread(logger log15.Logger, outCh chan<- struct{}) *EventThread
NewEventThread creates a new instance of event thread.
func (*EventThread) Start ¶
func (t *EventThread) Start() error
Start attempts to stop the event thread.
func (*EventThread) Stop ¶
func (t *EventThread) Stop() error
Stop attempts to stop the event thread.
Click to show internal directories.
Click to hide internal directories.