app

package
v0.0.0-...-47f63ad Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2020 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Log *logrus.Entry
	Tr  i18n.TranslationSet
	// contains filtered or unexported fields
}

App holds everything we need to function

func NewApp

func NewApp(config *config.AppConfig) (*App, error)

NewApp returns a new App

func (*App) Run

func (app *App) Run() error

Run runs the app

type State

type State struct {
	History []string `json:"history"`
	// contains filtered or unexported fields
}

State holds the app's state

type Views

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

Views stores our views

Jump to

Keyboard shortcuts

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