client

package
v0.0.0-...-5d46e3d Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HeaderStyle  = lipgloss.NewStyle().Background(lipgloss.Color("#F2F2F2")).Foreground(lipgloss.Color("#000000"))
	BaseStyle    = lipgloss.NewStyle().Background(lipgloss.Color("#000000")).Foreground(lipgloss.Color("#F2F2F2"))
	SuccessStyle = lipgloss.NewStyle().Background(lipgloss.Color("#009900")).Foreground(lipgloss.Color("#F2F2F2"))
	WarningStyle = lipgloss.NewStyle().Background(lipgloss.Color("#999900")).Foreground(lipgloss.Color("#F2F2F2"))
	ErrorStyle   = lipgloss.NewStyle().Background(lipgloss.Color("#AA0000")).Foreground(lipgloss.Color("#FFFFFF"))
)

Functions

func AnalyzeTest

func AnalyzeTest(ctx context.Context, c shared.Config) (err error)

func DeleteTests

func DeleteTests(ctx context.Context, c shared.Config) (err error)

func DownloadTest

func DownloadTest(ctx context.Context, c shared.Config) (err error)

func GenerateFormatString

func GenerateFormatString(columnCount int) (fs string)

func ListTests

func ListTests(ctx context.Context, c shared.Config) (err error)

func Listen

func Listen(ctx context.Context, c shared.Config) (err error)

func MakeCSV

func MakeCSV(ctx context.Context, c shared.Config) (err error)

func PrintColumns

func PrintColumns(style lipgloss.Style, columns ...column)

func PrintError

func PrintError(err error)

func PrintErrorString

func PrintErrorString(err string)

func PrintPercentiles

func PrintPercentiles(style lipgloss.Style, tag string, dps []int64, c shared.Config)

func PrintPercentilesHeader

func PrintPercentilesHeader(style lipgloss.Style, tag string, dps []int64, c shared.Config)

func PrintTError

func PrintTError(err shared.TError)

func RunTest

func RunTest(ctx context.Context, c shared.Config) (err error)

func Stop

func Stop(ctx context.Context, c shared.Config) (err error)

Types

type HeaderField

type HeaderField int
const (
	IntNumber HeaderField = iota
	Created
	Local
	Remote
	RMSH
	RMSL
	TTFBH
	TTFBL
	TX
	TXH
	TXL
	TXT
	TXCount
	ErrCount
	DroppedPackets
	MemoryUsage
	MemoryHigh
	MemoryLow
	CPUUsage
	CPUHigh
	CPULow
	ID
	HumanTime
)

Jump to

Keyboard shortcuts

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