engine

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdEvent added in v0.5.0

type CmdEvent struct {
	Item *item.Item
}

type Controller added in v0.5.0

type Controller struct {
	// contains filtered or unexported fields
}

func (*Controller) Start added in v0.5.0

func (c *Controller) Start(keySettings settings.Keys, root *item.Item, dispatcher Dispatcher) (bool, error)

type Dispatcher added in v0.5.0

type Dispatcher interface {
	DispatchEvent(rawEvent interface{})
	ReadUserInput() (string, error)
	Cleanup()
}

func DefaultDispatcher added in v0.5.0

func DefaultDispatcher(keys settings.Keys) (Dispatcher, error)
type MenuEvent struct {
	Item *item.Item
}

type Starter

type Starter struct {
	// contains filtered or unexported fields
}

func (*Starter) Start

func (s *Starter) Start(options options.Options) error

type ValidKeyEvent added in v0.5.0

type ValidKeyEvent struct {
	Key string
}

Jump to

Keyboard shortcuts

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