package
Version:
v1.13.0
Opens a new window with list of versions in this module.
Published: Jun 19, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package testutil include useful test utilities for the handshaker.
MakeFrame creates a handshake frame.
NewTestConn creates a new instance of testConn object.
func NewUnresponsiveTestConn() net.Conn
NewUnresponsiveTestConn creates a new instance of unresponsiveTestConn object.
type Stats struct {
MaxConcurrentCalls int
}
Stats is used to collect statistics about concurrent handshake calls.
Reset resets the statistics.
func (s *Stats) Update() func()
Update updates the statistics by adding one call.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.