Documentation
¶
Index ¶
- func ClearScreen()
- func GetAvailableSliceItem(displayTable *[]ntPinger.Packet) int
- func OutputFunc(outputChan <-chan ntPinger.Packet, len int, recording bool)
- func ScanTablePrint(Ports *[]ntScaner.TcpScanPort, recording bool, displayIdx int, destHost string)
- func TablePrint(displayTable *[]ntPinger.Packet, len int, recording bool, displayIdx int)
- func TcpScanOutputFunc(outputChan <-chan *[]ntScaner.TcpScanPort, recording bool, destHost string)
- func TcpScanStat(Ports *[]ntScaner.TcpScanPort) (countTested int, countSuccess int, countFail int)
- func TruncateString(s string, maxLength int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAvailableSliceItem ¶
Get the Slice Idx to inject the Result Object
func OutputFunc ¶
Main func for Output
func ScanTablePrint ¶ added in v1.0.1
func ScanTablePrint(Ports *[]ntScaner.TcpScanPort, recording bool, displayIdx int, destHost string)
ScanTablePrint function to display the values in a 10x5 table with color based on status (The input item lengh is 50)
func TablePrint ¶
Table Print Func
func TcpScanOutputFunc ¶ added in v1.0.1
func TcpScanOutputFunc(outputChan <-chan *[]ntScaner.TcpScanPort, recording bool, destHost string)
Main func for TCPScanOutput
func TcpScanStat ¶ added in v1.0.1
func TcpScanStat(Ports *[]ntScaner.TcpScanPort) (countTested int, countSuccess int, countFail int)
func tcpScanStat
func TruncateString ¶
TruncateString truncates a string to a maximum length and appends "..." if it exceeds the max length
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.