controller

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2019 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package controller contains code for the controller in the MVC pattern.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller runs the program in a "game loop".

func New

func New(iexClient *iex.Client) *Controller

New creates a new Controller.

func (*Controller) RunLoop

func (c *Controller) RunLoop() error

RunLoop runs the loop until the user exits the app.

Jump to

Keyboard shortcuts

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