term

package
v0.0.0-...-2089f63 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

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