term

package
v0.0.0-...-a8e7fa4 Latest Latest
Warning

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

Go to latest
Published: May 31, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

shared internal functions for handling output to the terminal

interactive terminal interface for local clients

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewArea

func NewArea(x, y, w, h int) *area

Types

type HttpView

type HttpView struct {
	log.Logger

	HttpRequests *util.Ring
	// contains filtered or unexported fields
}

func (HttpView) APrintf

func (a HttpView) APrintf(fg termbox.Attribute, x, y int, arg0 string, args ...interface{})

func (HttpView) Clear

func (a HttpView) Clear()

func (HttpView) Printf

func (a HttpView) Printf(x, y int, arg0 string, args ...interface{})

func (*HttpView) Render

func (v *HttpView) Render()

func (*HttpView) Run

func (v *HttpView) Run()

func (*HttpView) Shutdown

func (v *HttpView) Shutdown()

type TermView

type TermView struct {
	log.Logger
	// contains filtered or unexported fields
}

func NewTermView

func NewTermView(ctl mvc.Controller) *TermView

func (TermView) APrintf

func (a TermView) APrintf(fg termbox.Attribute, x, y int, arg0 string, args ...interface{})

func (TermView) Clear

func (a TermView) Clear()

func (*TermView) Flush

func (v *TermView) Flush()

func (*TermView) NewHttpView

func (v *TermView) NewHttpView(p *proto.Http) *HttpView

func (TermView) Printf

func (a TermView) Printf(x, y int, arg0 string, args ...interface{})

func (*TermView) Shutdown

func (v *TermView) Shutdown()

Jump to

Keyboard shortcuts

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