debug

package
v0.0.0-...-24e800f Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2019 License: ISC Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pos

type Pos int
const (
	TopLeft Pos = iota
	TopRight
	BottomLeft
	BottomRight
)

type Printer

type Printer interface {
	Print(v *grog.View, pos Pos, s string)
	Printf(v *grog.View, pos Pos, format string, args ...interface{})
}

func NewPrinter

func NewPrinter(r grog.Renderer, td *grog.TextDrawer) Printer

type Timer

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

func (*Timer) Add

func (t *Timer) Add(dt time.Duration)

func (*Timer) Average

func (t *Timer) Average() time.Duration

func (*Timer) AveragePerSecond

func (t *Timer) AveragePerSecond() float64

Jump to

Keyboard shortcuts

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