terminalOutput

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAvailableSliceItem

func GetAvailableSliceItem(displayTable *[]ntPinger.Packet) int

Get the Slice Idx to inject the Result Object

func OutputFunc

func OutputFunc(outputChan <-chan ntPinger.Packet, len int, recording bool)

Main func for Output

func TablePrint

func TablePrint(displayTable *[]ntPinger.Packet, len int, recording bool, displayIdx int)

Table Print Func

func TruncateString

func TruncateString(s string, maxLength int) string

TruncateString truncates a string to a maximum length and appends "..." if it exceeds the max length

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳