Documentation ¶
Overview ¶
Package handler implements the WebSocket handler for ndt7.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { // DataDir is the directory where results are saved. DataDir string // SecurePort should contain the port used for secure, WSS tests. SecurePort string // InsecurePort should contain the port used for insecure, WS tests. InsecurePort string // ServerMetadata contains deployment-specific metadata. ServerMetadata []metadata.NameValue // CompressResults controls whether the result files saved by the server are compressed. CompressResults bool // Events is for reporting new connections to the event server. Events eventsocket.Server }
Handler handles ndt7 subtests.
Click to show internal directories.
Click to hide internal directories.