display

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2026 License: MIT Imports: 10 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

Functions

func FormatUptime

func FormatUptime(startTime time.Time) string

func ListThemesSorted

func ListThemesSorted() []string

func PrintCleanList

func PrintCleanList(ports []types.PortInfo)

func PrintCleanPrompt

func PrintCleanPrompt()

func PrintCleanSummary

func PrintCleanSummary(success, failed int)

func PrintClosedPort

func PrintClosedPort(port int)

func PrintHelp

func PrintHelp()

func PrintKillFailed

func PrintKillFailed(err error)

func PrintKillPrompt

func PrintKillPrompt()

func PrintKillSuccess

func PrintKillSuccess()

func PrintNewPort

func PrintNewPort(info types.PortInfo)

func PrintPortDetail

func PrintPortDetail(info types.PortInfo, tree []types.ProcessTreeNode)

func PrintPortsTable

func PrintPortsTable(ports []types.PortInfo)

func PrintPsTable

func PrintPsTable(processes []types.ProcessInfo)

func PrintThemeList

func PrintThemeList(themes []string, currentTheme string)

func PrintThemeNotFound

func PrintThemeNotFound(name string)

func PrintThemeSetSuccess

func PrintThemeSetSuccess(name string)

func PrintThemeShow

func PrintThemeShow(currentTheme string)

func PrintWatchEvents

func PrintWatchEvents(events []WatchEvent)

func PrintWatchHeader

func PrintWatchHeader()

Types

type WatchEvent

type WatchEvent struct {
	Kind string
	Info types.PortInfo
	Port int
}

Jump to

Keyboard shortcuts

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