views

package
v0.0.0-...-b650d88 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HeaderView

type HeaderView struct {
	Name string
	// contains filtered or unexported fields
}

func NewHeaderView

func NewHeaderView(title string) *HeaderView

func (*HeaderView) Layout

func (hv *HeaderView) Layout(g *gocui.Gui) error

func (*HeaderView) Update

func (hv *HeaderView) Update(g *gocui.Gui, content string)

type InputView

type InputView struct {
	Name string
	// contains filtered or unexported fields
}

func NewInputView

func NewInputView(c *hermes.Client, mv *MainView, sv *StatusView) *InputView

func (*InputView) Init

func (iv *InputView) Init(g *gocui.Gui) error

func (*InputView) Layout

func (iv *InputView) Layout(g *gocui.Gui) error

func (*InputView) Update

func (iv *InputView) Update(g *gocui.Gui, content string)

type MainView

type MainView struct {
	Name string
}

func NewMainView

func NewMainView() *MainView

func (*MainView) Layout

func (mv *MainView) Layout(g *gocui.Gui) error

func (*MainView) Update

func (mv *MainView) Update(g *gocui.Gui, content string)

type StatusView

type StatusView struct {
	Name string
}

func NewStatusView

func NewStatusView() *StatusView

func (*StatusView) Layout

func (sv *StatusView) Layout(g *gocui.Gui) error

func (*StatusView) Update

func (sv *StatusView) Update(g *gocui.Gui, content string)

type View

type View interface {
	gocui.Manager

	Update(g *gocui.Gui, content string)
}

Jump to

Keyboard shortcuts

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