Documentation
¶
Overview ¶
Go Multi-Agent - Metrics Display
ChatCLI - CLI metrics
Copyright (c) 2024 Edilson Freitas
License: MIT
ChatCLI - CLI metrics
Copyright (c) 2024 Edilson Freitas
License: MIT
ChatCLI - Metrics Timer
Copyright (c) 2024 Edilson Freitas
License: MIT
Index ¶
- Constants
- func ClearLine() string
- func FormatDuration(d time.Duration) string
- func FormatDurationShort(d time.Duration) string
- func FormatTimerComplete(d time.Duration) string
- func FormatTimerStatus(d time.Duration, model, msg string) string
- func FormatTurnInfo(t, m int, d time.Duration, stats *TurnStats) string
- func GetDotsAnimation() string
- func GetSpinnerFrame() string
- type Spinner
- type Timer
- type TurnStats
Constants ¶
View Source
const ( ColorReset = "\033[0m" ColorGreen = "\033[32m" ColorYellow = "\033[33m" ColorRed = "\033[31m" ColorCyan = "\033[36m" ColorGray = "\033[90m" ColorBold = "\033[1m" )
Variables ¶
This section is empty.
Functions ¶
func FormatDuration ¶
func FormatDurationShort ¶
func FormatTimerComplete ¶
func GetDotsAnimation ¶ added in v1.49.0
func GetDotsAnimation() string
func GetSpinnerFrame ¶ added in v1.49.0
func GetSpinnerFrame() string
Types ¶
type Spinner ¶ added in v1.49.0
type Spinner struct {
// contains filtered or unexported fields
}
func NewSpinner ¶ added in v1.49.0
func NewSpinner() *Spinner
type Timer ¶
type Timer struct {
// contains filtered or unexported fields
}
Timer representa um cronometro de execução com display em tempo real
Click to show internal directories.
Click to hide internal directories.