Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConfig ¶
type ClientConfig struct { // The scheme to use (ws/wss). Scheme DialerScheme // The default Duration of a measurement. Duration time.Duration // The delay between stream starts. StreamsDelay time.Duration // Ignore invalid TLS certs. NoVerify bool // Congestion control algorithm to request to the server. CongestionControl string }
func New ¶
func New(scheme DialerScheme, duration, delay time.Duration, cc string) *ClientConfig
func NewDefault ¶
func NewDefault() *ClientConfig
type DialerScheme ¶
type DialerScheme string
const ( WebSocketSecure DialerScheme = "wss" WebSocket = "ws" )
Click to show internal directories.
Click to hide internal directories.