gui

package
v0.0.0-...-c5db3e2 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gui

type Gui struct {
	*tview.Application
	// contains filtered or unexported fields
}

func NewGui

func NewGui(fetchConnections func() ([]common.ConnectionData, error)) *Gui

func (*Gui) Connections

func (g *Gui) Connections() *views.Connections

func (*Gui) Login

func (g *Gui) Login() *views.Login

View accessors...

func (*Gui) SetFocusToPages

func (g *Gui) SetFocusToPages()

func (*Gui) Show

func (g *Gui) Show(v view)

type Pages

type Pages struct {
	*tview.Pages
}

func NewPages

func NewPages() *Pages

func (*Pages) Show

func (p *Pages) Show(v view)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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