Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { // Whether the tool should run as server or client IsServerMode bool // Client Mode: Address of the corresponding server to connect to. // Server Mode: Address to listen for incoming connections. Address string // Type of the connection to test ConnectionType connection_type.ConnectionType // Whether TLS should be enabled (Cannot be enforced if the protocol to use is not supporting it or without it) // For example QUIC is enforcing TLS use, thus it cannot be disabled. TlsEnabled bool // TLS configuration to use TlsConfiguration tls.Config // Send until the Duration is over Duration time.Duration // Send the amount of Bytes over to the server Bytes int64 // Send to the server with the set buffer size, use in connection with Duration. BufferSize int }
Options for the CLI.
Click to show internal directories.
Click to hide internal directories.