Documentation
¶
Index ¶
- Variables
- func FormatUptime(startTime time.Time) string
- func ListThemesSorted() []string
- func PrintCleanList(ports []types.PortInfo)
- func PrintCleanPrompt()
- func PrintCleanSummary(success, failed int)
- func PrintClosedPort(port int)
- func PrintHelp()
- func PrintKillFailed(err error)
- func PrintKillPrompt()
- func PrintKillSuccess()
- func PrintNewPort(info types.PortInfo)
- func PrintPortDetail(info types.PortInfo, tree []types.ProcessTreeNode)
- func PrintPortsTable(ports []types.PortInfo)
- func PrintPsTable(processes []types.ProcessInfo)
- func PrintThemeList(themes []string, currentTheme string)
- func PrintThemeNotFound(name string)
- func PrintThemeSetSuccess(name string)
- func PrintThemeShow(currentTheme string)
- func PrintWatchEvents(events []WatchEvent)
- func PrintWatchHeader()
- type WatchEvent
Constants ¶
This section is empty.
Variables ¶
View Source
var S theme.Styles
Functions ¶
func FormatUptime ¶
func ListThemesSorted ¶
func ListThemesSorted() []string
func PrintCleanList ¶
func PrintCleanPrompt ¶
func PrintCleanPrompt()
func PrintCleanSummary ¶
func PrintCleanSummary(success, failed int)
func PrintClosedPort ¶
func PrintClosedPort(port int)
func PrintKillFailed ¶
func PrintKillFailed(err error)
func PrintKillPrompt ¶
func PrintKillPrompt()
func PrintKillSuccess ¶
func PrintKillSuccess()
func PrintNewPort ¶
func PrintPortDetail ¶
func PrintPortDetail(info types.PortInfo, tree []types.ProcessTreeNode)
func PrintPortsTable ¶
func PrintPsTable ¶
func PrintPsTable(processes []types.ProcessInfo)
func PrintThemeList ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.