Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEventLoop ¶
type MockEventLoop struct {
EventQueue []controller.Event
}
MockEventLoop is a mock implementation of the main event loop.
func (*MockEventLoop) PushEvent ¶
func (m *MockEventLoop) PushEvent(event controller.Event) error
PushEvent adds the given event into the mock event queue.
Click to show internal directories.
Click to hide internal directories.