Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Args ¶
type Args struct {
Destination string
ParallelProbes uint
NumProbes uint
MaxTTL uint
NoResolve bool
// Protocol and ports
TCP bool
UDP bool
ForceIPv4 bool
ForceIPv6 bool
DestinationPort uint
SourcePort uint
// Timing
InterProbeDelay time.Duration
InterTTLDelay time.Duration
Timeout time.Duration
// Output
Json bool // output json to stdout
JsonFile string // output json to file while showing TUI
// Path hashing
HashAlgorithm string // hash algorithm: crc32, sha256
// Logging
Log string // log file path, empty means no logging
LogLevel string // log level: debug, info, warn, error
}
func (Args) ProtocolName ¶
ProtocolName returns the protocol name based on args
Click to show internal directories.
Click to hide internal directories.