Versions in this module Expand all Collapse all v0 v0.2.0 Oct 28, 2024 v0.1.0 Oct 28, 2024 Changes in this version + type DebugView struct + func NewDebugView() *DebugView + func (d *DebugView) HandleScroll(e termui.Event) + func (d *DebugView) Printf(format string, args ...interface{}) + type DetailsPanel struct + Chart *ResponseChart + Container *termui.Block + Stats *StatsTable + URLView *widgets.Paragraph + func NewDetailsPanel() *DetailsPanel + func (d *DetailsPanel) Draw(buf *termui.Buffer) + func (d *DetailsPanel) GetRect() image.Rectangle + func (d *DetailsPanel) InitializeChart(stats []types.HistoricalStat, debug *DebugView) + func (d *DetailsPanel) SetRect(x1, y1, x2, y2 int) + func (d *DetailsPanel) Update(status types.ServiceStatus) + type HelpBar struct + func NewHelpBar() *HelpBar + func (h *HelpBar) UpdateHelp(hasDebug bool, isPaused bool) + type ResponseChart struct + func NewResponseChart() *ResponseChart + func (c *ResponseChart) CalculateMaxBars(containerWidth int) int + func (c *ResponseChart) InitializeHistory(stats []types.HistoricalStat, containerWidth int, debug *DebugView) + func (c *ResponseChart) InitializeWithCurrentWidth() + func (c *ResponseChart) StoreHistoricalStats(stats []types.HistoricalStat) + func (c *ResponseChart) Update(status types.ServiceStatus) + type ServiceList struct + func NewServiceList() *ServiceList + func (s *ServiceList) GetPausedMonitors() map[string]bool + func (s *ServiceList) GetSelectedIndex() int + func (s *ServiceList) IsPaused(serviceName string) bool + func (s *ServiceList) MoveSelection(delta int, maxIndex int) + func (s *ServiceList) TogglePause(serviceName string) + func (s *ServiceList) Update(services []types.Monitor, currentStatus map[string]types.ServiceStatus) + type StatsTable struct + func NewStatsTable() *StatsTable + func (s *StatsTable) Update(status types.ServiceStatus)