eventloop

package
v3.3.2+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL